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

Build with two-step approach to reduce the image size #8

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

Conversation

rvdheij
Copy link

@rvdheij rvdheij commented Dec 3, 2019

Rather than trying to rip some unwanted stuff out of the build system,
copy the relevant directories from the build system into a fresh plain
image, thus reducing the image with 3 GB or so.
Found my skinny image ~ 200 MB rather than 3.5 GB

Rather than trying to rip some unwanted stuff out of the build system,
copy the relevant directories from the build system into a fresh plain
image, thus reducing the image with 2 GB or so.
@cwsolee
Copy link
Contributor

cwsolee commented Dec 4, 2019

Thanks for the suggestion, I'm not accepting PR for this repo but will implement what u suggested here, it's a great idea and we always try to reduce our docker image size whenever we could.

@rvdheij
Copy link
Author

rvdheij commented Dec 4, 2019

That's fine. I did it because it solved some operational issues for me having smaller images.
I just thought it was the proper way for me to show my appreciation for the effort you've done with these.

@cwsolee
Copy link
Contributor

cwsolee commented Dec 4, 2019

Much appreciated, we plan to apply your suggestion in Grafana and will see what other packages could do the same too.

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.

2 participants