Add manylinux_2_28-x64 and retire manylinux_2_24-x64

Replaces manylinux_2_24 (which has been deprecated).

Based on AlmaLinux (RedHat-based) and GCC 11.

Co-authored-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
This commit is contained in:
Matt McCormick
2022-07-05 11:45:51 -04:00
committed by Jean-Christophe Fillion-Robin
parent dd849908aa
commit ada2c8dad6
7 changed files with 58 additions and 50 deletions

View File

@ -1,3 +1,16 @@
RUN \
set -x && \
yum -y install \
gpg \
python3-devel \
zlib-devel \
gettext \
openssh-clients \
wget \
zip \
&& \
yum clean all
# Image build scripts
COPY \
manylinux-common/install-python-packages.sh \
@ -5,20 +18,9 @@ COPY \
RUN \
set -x && \
apt-get update -qq && \
apt-get -y install \
dirmngr \
gnupg \
python3-dev \
zlib1g-dev \
gettext \
openssh-client \
pax \
wget \
zip \
&& \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/* && \
# Remove sudo provided by devtoolset since it doesn't work with
# our sudo wrapper calling gosu.
rm -f /opt/rh/gcc-toolset-11/root/usr/bin/sudo && \
/buildscripts/install-python-packages.sh && \
rm -rf /buildscripts