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

/usr/src/gcc increasing image size #51

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

/usr/src/gcc increasing image size #51

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

Comments

@KevinWMatthews
Copy link

Is there a reason that /usr/src/gcc/ isn't deleted after the build is finished? In gcc:8.2.0 that particular directory is 774M, if I'm using du properly.

It seems like the source code shouldn't be required for the gcc executable to run. Are there other reasons that container users might need access to the source? If not, we could reduce the image size significantly.

@yosifkit
Copy link
Member

yosifkit commented Nov 30, 2018

Neat, this has been in the images since their creation in 2014 (by me 😢), but I would consider it a bug and not a feature.

Opened a PR: #53

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

No branches or pull requests

3 participants