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

Multi-stage build? #52

Closed
KevinWMatthews opened this issue Nov 29, 2018 · 1 comment
Closed

Multi-stage build? #52

KevinWMatthews opened this issue Nov 29, 2018 · 1 comment

Comments

@KevinWMatthews
Copy link

Food for thought: have you considering using a multi-stage build?

If done well, it could be used to run clone, configure, compile, and/or install steps separately. Given the length of your compile step, this could be handy for you as the image developers. It's also useful for avoiding issues like that in #51 .

I realize that you can't necessarily make a sweeping change to your Dockerfile templates - this is a shipping version of gcc, after all. And perhaps you need to support Docker versions older than 17.05? But if it's just because no one has taken the time to put in the work, I can make PR as a starting point for discussion.

@wglambert
Copy link

We can't use multi-stage builds at this time: docker-library/official-images#3383.

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