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

moved all the installs and deletes into single layer to reduce bloat … #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cuotos
Copy link

@cuotos cuotos commented Jul 13, 2018

…in final image

original image is 351MB (148MB compressed / docker hub reported size)
after moving everything into a single layer the image is 131MB local (and about 60MB compressed)

Even though packages are being deleted at the end of the install, they are already committed into a previous layer and will alway be present in the final image

@cuotos
Copy link
Author

cuotos commented Jul 13, 2018

wait one. possibly spotted a bug, my tests were not using the new build.

@cuotos
Copy link
Author

cuotos commented Jul 13, 2018

local image is now 177MB rather than 349MB

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

Successfully merging this pull request may close these issues.

1 participant