Skip to content

#388: Add images generation build automation

Moul requested to merge 388_docker_image_generation_automation into dev
Introduce Dockerfiles based on latest Python available
Install silkaj and make it available to the CLI
Two steps: build, copy.
Otherwise, you don’t get Silkaj sources built-in the image

Poetry and pip environment of images builds:
- Pip for direct consumers like DeathReaper
- Poetry for developers, with git in

Manual triggered job to generate the image
Extensible job definition for future usages
Rename stage from `publish` to `package`

Tag images with the commit hash, the branch, and latest
Define python version variable and pass it as an ARG to the builds

Release and `dev` channels and jobs
Tag the image with the git tag when present

  • Set image's timezone to Paris

    • For DeathReaper to report the date in Paris timezone and not GMT
  • Document Docker images usage


Close #388 (closed).


Review

If you don’t feel at ease reviewing the CI nor the Dockerfiles, you can just test the generated images as documented. That’s fine with me. You can ask questions in the review if you want to learn more how this all works.

Edited by Moul

Merge request reports