Skip to content

/usr/src/gcc increasing image size #51

Closed
@KevinWMatthews

Description

@KevinWMatthews

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions