Skip to content

Commit

Permalink
chore: use manylinux2014_base base image for manylinux2014
Browse files Browse the repository at this point in the history
With CentOS 7 having reach EOL, packages versions are now immutable.
Using a base image with manylinux runtime packages allows to reduce image size and improve cache efficiency.
  • Loading branch information
mayeut committed Nov 3, 2024
1 parent e162370 commit 336a59b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ fi

# setup BASEIMAGE and its specific properties
if [ "${POLICY}" == "manylinux2014" ]; then
if [ "${PLATFORM}" == "s390x" ]; then
BASEIMAGE="s390x/clefos:7"
else
BASEIMAGE="${MULTIARCH_PREFIX}centos:7"
fi
BASEIMAGE="quay.io/pypa/manylinux2014_base:2024.11.03-3"
DEVTOOLSET_ROOTPATH="/opt/rh/devtoolset-10/root"
PREPEND_PATH="${DEVTOOLSET_ROOTPATH}/usr/bin:"
if [ "${PLATFORM}" == "i686" ]; then
Expand Down

0 comments on commit 336a59b

Please sign in to comment.