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

The evils of package managers when creating Docker images #16

Open
rwallinterset opened this issue Sep 5, 2017 · 7 comments
Open

The evils of package managers when creating Docker images #16

rwallinterset opened this issue Sep 5, 2017 · 7 comments

Comments

@rwallinterset
Copy link

Lighting talk suggestion or maybe something more with additional content.

Look at how package managers can bloat image sizes.

Use tricks like cleaning up cached package manager files.
extract out packed files rather then installing them. rpm2cpio for example
use strace to find all files opened by an app and build a image based on the resulting info.

@hairyhenderson
Copy link
Member

cool! sounds like a good idea @rwallinterset.

You could also work in multi-stage builds, as those can help reduce the unnecessary files in an image.

We'll see when we can work this in to the schedule - would you be willing to deliver this? Or were you preferring for someone else to do this talk? Either way is fine 😉

@rwallinterset
Copy link
Author

I could give the talk but in no way am I an expert.

@hairyhenderson I have never used the mutli-stage builds so this is new to me. I'll take a look.

@hairyhenderson
Copy link
Member

Hey @rwallinterset - huge apologies for not following up with you on this. It's short-notice, but would you be willing to deliver this at the September meetup (this coming Wednesday)?

@rwallinterset
Copy link
Author

@hairyhenderson Possibly, how long of a time slot are you looking for me to fill? Is it a lighting talk or a 30 minute thing?

@hairyhenderson
Copy link
Member

@rwallinterset Lightning talk would be ideal

@rwallinterset
Copy link
Author

Perfect. Yeah I can do that.

@hairyhenderson
Copy link
Member

Great! Thanks @rwallinterset :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants