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

Found a way to save 11.6M on final image size ;) #1054

Closed
pierreozoux opened this issue Aug 28, 2020 · 2 comments
Closed

Found a way to save 11.6M on final image size ;) #1054

pierreozoux opened this issue Aug 28, 2020 · 2 comments

Comments

@pierreozoux
Copy link

/usr/src/php.tar.xz is still there at the end of the build.

It is due to the fact that the curl is in this RUN block.

And the delete is this other RUN block.

So currently the delete is useless as it is in a different layer.

@tianon
Copy link
Member

tianon commented Aug 28, 2020

Duplicate of #488, #886, #1043

@tianon tianon closed this as completed Aug 28, 2020
@pierreozoux
Copy link
Author

arf sorry, I was so glad I could help the environment that much :)

500M pull * 11.6M, it would have been my best PR to help fight climate change ;)

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