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

Update Dockerfile for optimisation and old clang #21

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

Willenst
Copy link
Contributor

Hello, I've decided that Dockerfile can be optimized by removing duplicate gcc and g++ versions. Since they are just meta packages containing the one specified version of distinct package. You can check it by searching gcc in this repo http://archive.ubuntu.com/ubuntu/dists/focal/main/binary-amd64/

The economy of space will be really nice:

old new
kernel-build-container clang-17 6.02GB 4.89GB
kernel-build-container clang-15 3.83GB 3.49GB
kernel-build-container clang-14 2.21GB 1.88GB
kernel-build-container clang-10 1.38GB 1.38GB
kernel-build-container clang-8 1.75GB 1.4GB
kernel-build-container clang-7 2.04GB 1.49GB

Also, I've added support for old clangs, so that they can be added in future! To be honest, I will try to add them really soon!

@a13xp0p0v a13xp0p0v added the bug Something isn't working label Sep 18, 2024
a13xp0p0v added a commit that referenced this pull request Sep 18, 2024
a13xp0p0v added a commit that referenced this pull request Sep 18, 2024
@a13xp0p0v a13xp0p0v merged commit 4800f73 into a13xp0p0v:master Sep 18, 2024
@a13xp0p0v
Copy link
Owner

Excellent finding, thanks @Willenst.
I've added a fix be11369 and merged this branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants