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

Container image is larger than necessary #25

Closed
simar0at opened this issue Jan 18, 2024 · 1 comment
Closed

Container image is larger than necessary #25

simar0at opened this issue Jan 18, 2024 · 1 comment

Comments

@simar0at
Copy link
Contributor

Container images get smaller and easier to download the less layers they have. Combining some RUN instructions will decrease the size of the final download but increase build time as every change in a larger block of instructions will invalidate this whole layer.
Usually on an image that is not in heavy development anymore it is better to merge as many RUN and other Dockerfile instructions as possible.

@musicEnfanthen
Copy link
Member

Fixed by #28

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