Skip to content

Commit 336a59b

Browse files
committed
chore: use manylinux2014_base base image for manylinux2014
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.
1 parent e162370 commit 336a59b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

build.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,7 @@ fi
3737

3838
# setup BASEIMAGE and its specific properties
3939
if [ "${POLICY}" == "manylinux2014" ]; then
40-
if [ "${PLATFORM}" == "s390x" ]; then
41-
BASEIMAGE="s390x/clefos:7"
42-
else
43-
BASEIMAGE="${MULTIARCH_PREFIX}centos:7"
44-
fi
40+
BASEIMAGE="quay.io/pypa/manylinux2014_base:2024.11.03-3"
4541
DEVTOOLSET_ROOTPATH="/opt/rh/devtoolset-10/root"
4642
PREPEND_PATH="${DEVTOOLSET_ROOTPATH}/usr/bin:"
4743
if [ "${PLATFORM}" == "i686" ]; then

0 commit comments

Comments
 (0)