From 336a59b6b96c05fc346c6215865d1f22b804075d Mon Sep 17 00:00:00 2001 From: mayeut Date: Sun, 3 Nov 2024 12:02:55 +0100 Subject: [PATCH] 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. --- build.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/build.sh b/build.sh index b9c78b99..6ec2c117 100755 --- a/build.sh +++ b/build.sh @@ -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