Skip to content

Update dockerfile 2.2.4 #1924

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Dec 11, 2022
Merged

Update dockerfile 2.2.4 #1924

merged 5 commits into from
Dec 11, 2022

Conversation

mauwii
Copy link
Contributor

@mauwii mauwii commented Dec 11, 2022

  • use python:3.10-slim as baseimage
  • separate builder and runtime stages again
  • get rid of uneeded packages
  • pin packages for persistence
  • remove outdir from entrypoint since invoke.init is available in /data
  • shrinked image size to <2GB
  • way better security score than before
  • update build action
  • update output for build.sh and run.sh

- use `python:3.10-slim` as baseimage
- separate builder and runtime stages again
- get rid of uneeded packages
- pin packages for persistence
- remove outdir from entrypoint since invoke.init is available in /data
- shrinked image size to <2GB
- way better security score than before
@mauwii mauwii added CI-CD Continuous integration / Continuous delivery docker labels Dec 11, 2022
@mauwii mauwii self-assigned this Dec 11, 2022
Copy link
Collaborator

@lstein lstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mauwii mauwii merged commit 62b80a8 into main Dec 11, 2022
@mauwii mauwii deleted the update-dockerfile-2.2.4 branch December 11, 2022 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-CD Continuous integration / Continuous delivery docker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants