mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-09 20:57:26 +01:00
ada2c8dad6
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>
29 lines
573 B
Plaintext
29 lines
573 B
Plaintext
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 \
|
|
/buildscripts/
|
|
|
|
RUN \
|
|
set -x && \
|
|
# 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
|
|
|
|
# Runtime scripts
|
|
COPY manylinux-common/pre_exec.sh /dockcross/
|