Skip to content
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

Keep the Docker image small #33

Closed
AndreMiras opened this issue Jul 17, 2023 · 0 comments
Closed

Keep the Docker image small #33

AndreMiras opened this issue Jul 17, 2023 · 0 comments

Comments

@AndreMiras
Copy link
Contributor

AndreMiras commented Jul 17, 2023

Is your feature request related to a problem? Please describe.
The docker image is 1.8G, making it lighter would make it easier to publish, refs #23

Describe the solution you'd like
We could leverage multi-stage builds.

Describe alternatives you've considered
Doing it the old fashion, deleting things as we use them for each layers, but it's harder to deal with.

Additional context
Tested in the current main c897403, this is the result of a docker build then a docker images command
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants