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

Shrink/Optimize Dockerfile #1430

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

tomodachi
Copy link

Changes Shrink the resulting image with 70mb by removing unused dependencies and merging several
runs to a single layer.

Changes Shrink the resulting image with 70mb by removing
un-used dependencies and merging several
runs to a single layer.
@tomodachi
Copy link
Author

tomodachi commented Dec 21, 2024

I tested compiling the 4 target arches in the example in the Dockerfile from within the container after doing my modifications and it all succeeded so believe it's all good.

@roderickvd
Copy link
Member

I don't use Docker but sounds good to me! Would you resolve the conflict?

@kingosticks
Copy link
Contributor

The only comment I have is that to ensure it's still as easy as possible to comment lines out and just compile the platform you want. I think you got that with the new lines but I didn't check properly sorry.

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.

3 participants