Skip to content

Commit

Permalink
Update manylinux2014 base images with version patched for EOL
Browse files Browse the repository at this point in the history
With CentOS 7 becoming EOL as of 2024-06-30, `yum` will no longer work
in the `x86_64-linux-gnu` and `x86-linux-gnu` images shipped with
v1.5.1 and earlier.

In this commit, we update the `manylinux2014` base image for the
`x86_64-linux-gnu` and `x86-linux-gnu` images to point at a version
patched by `pypa` to use valid yum mirrors. See
pypa/manylinux#1628 for more information.

Note that the ubuntu image version is the same from v1.5.0 and v1.5.1.
  • Loading branch information
flavorjones committed Jul 30, 2024
1 parent 114086d commit 8a6f50a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.mri.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<%
image = case platform
when /x86_64-linux-gnu/ then "quay.io/pypa/manylinux2014_x86_64"
when /x86-linux-gnu/ then "quay.io/pypa/manylinux2014_i686"
else "ubuntu:20.04"
when /x86_64-linux-gnu/ then "quay.io/pypa/manylinux2014_x86_64:latest@sha256:04bffb03cd21d7945c327f67745897adddeb1d6635d79ba98811e7526460f2e0"
when /x86-linux-gnu/ then "quay.io/pypa/manylinux2014_i686:latest@sha256:516a28921cf4d2544be8278764e3e5d33da0a4b4e26bbbb523a5702b96b329b0"
else "docker.io/library/ubuntu:20.04@sha256:80ef4a44043dec4490506e6cc4289eeda2d106a70148b74b5ae91ee670e9c35d"
end
manylinux = !!(image =~ /manylinux/)
%>
Expand Down

0 comments on commit 8a6f50a

Please sign in to comment.