Skip to content

[manylinux2010] glibc update & glibc cache/image size reduction #874

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

Merged
merged 3 commits into from
Dec 13, 2020

Conversation

mayeut
Copy link
Member

@mayeut mayeut commented Dec 12, 2020

  • Update glibc from 2.12-1.212.el6 to 2.12-1.212.el6_10.3
    Latest (and last) update to get security fixes for the rebuilt glibc

  • Reduce glibc rebuild cache size
    2.5GB -> 1GB, should save resources on both local builds and travis-ci builds

  • Reduce image size
    Final image is now built from scratch because almost everything gets replaced in the base centos:6 image which means it's useless to pull this base image as it will not help with caching but just increase storage/bandwidth requirements when the host does not use centos:6 base image for other images => 384 MB (including centos:6, 194MB) -> 200MB

2.5GB -> 1GB, should save resources on both local builds and travis-ci builds
Final image size is now built from scratch because almost everything gets replaced in the base centos:6 image which means it's useless to pull this base image as it will not help with caching but just increase storage/bandwidth requirements when the host does not use centos:6 base image for other images => 384 MB (including centos:6, 194MB) -> 200MB
@mayeut mayeut merged commit a2fc652 into pypa:master Dec 13, 2020
@mayeut mayeut deleted the manylinux2010-glibc-update branch December 14, 2020 07:36
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

Successfully merging this pull request may close these issues.

2 participants