2022-07-05 17:45:51 +02:00
|
|
|
RUN \
|
|
|
|
set -x && \
|
|
|
|
yum -y install \
|
|
|
|
gpg \
|
|
|
|
python3-devel \
|
|
|
|
zlib-devel \
|
|
|
|
gettext \
|
|
|
|
openssh-clients \
|
|
|
|
wget \
|
2022-11-24 15:55:58 +01:00
|
|
|
nasm \
|
2022-07-05 17:45:51 +02:00
|
|
|
zip \
|
|
|
|
&& \
|
|
|
|
yum clean all
|
|
|
|
|
2022-06-22 01:23:22 +02:00
|
|
|
# Image build scripts
|
|
|
|
COPY \
|
|
|
|
manylinux-common/install-python-packages.sh \
|
|
|
|
/buildscripts/
|
|
|
|
|
|
|
|
RUN \
|
|
|
|
set -x && \
|
2022-07-05 17:45:51 +02:00
|
|
|
# Remove sudo provided by devtoolset since it doesn't work with
|
|
|
|
# our sudo wrapper calling gosu.
|
2022-11-30 21:41:47 +01:00
|
|
|
rm -f /opt/rh/gcc-toolset-12/root/usr/bin/sudo && \
|
2022-06-22 01:23:22 +02:00
|
|
|
/buildscripts/install-python-packages.sh && \
|
|
|
|
rm -rf /buildscripts
|
|
|
|
|
|
|
|
# Runtime scripts
|
|
|
|
COPY manylinux-common/pre_exec.sh /dockcross/
|