2018-06-07 02:17:10 +02:00
|
|
|
# Image build scripts
|
2018-06-05 05:59:32 +02:00
|
|
|
COPY \
|
|
|
|
manylinux-common/install-python-packages.sh \
|
2018-06-07 02:17:10 +02:00
|
|
|
/buildscripts/
|
2018-06-05 07:01:18 +02:00
|
|
|
|
2018-06-05 05:53:38 +02:00
|
|
|
RUN \
|
2018-06-05 07:13:23 +02:00
|
|
|
set -x && \
|
|
|
|
yum -y install \
|
2020-07-05 01:44:27 +02:00
|
|
|
$([ "$DEFAULT_DOCKCROSS_IMAGE" = "dockcross/manylinux2014-x86" ] && echo "" || echo "epel-release") \
|
2018-06-05 05:53:38 +02:00
|
|
|
gpg \
|
2021-05-26 20:02:47 +02:00
|
|
|
python3-devel \
|
2018-06-05 05:53:38 +02:00
|
|
|
zlib-devel \
|
|
|
|
gettext \
|
2018-06-05 05:59:32 +02:00
|
|
|
openssh-clients \
|
|
|
|
pax \
|
2018-08-20 01:05:58 +02:00
|
|
|
wget \
|
2022-11-24 15:55:58 +01:00
|
|
|
nasm \
|
2018-06-05 05:59:32 +02:00
|
|
|
zip \
|
2018-06-05 07:13:23 +02:00
|
|
|
&& \
|
2019-06-08 23:47:03 +02:00
|
|
|
yum clean all && \
|
2020-06-17 16:21:35 +02:00
|
|
|
# Remove sudo provided by devtoolset since it doesn't work with
|
2018-06-05 07:01:18 +02:00
|
|
|
# our sudo wrapper calling gosu.
|
2019-05-22 09:21:10 +02:00
|
|
|
rm -f /opt/rh/devtoolset-2/root/usr/bin/sudo && \
|
2019-12-17 19:13:08 +01:00
|
|
|
rm -f /opt/rh/devtoolset-7/root/usr/bin/sudo && \
|
2019-05-22 09:21:10 +02:00
|
|
|
rm -f /opt/rh/devtoolset-8/root/usr/bin/sudo && \
|
2020-07-05 01:44:27 +02:00
|
|
|
rm -f /opt/rh/devtoolset-9/root/usr/bin/sudo && \
|
2021-08-06 20:50:46 +02:00
|
|
|
rm -f /opt/rh/devtoolset-10/root/usr/bin/sudo && \
|
2018-06-07 02:17:10 +02:00
|
|
|
/buildscripts/install-python-packages.sh && \
|
|
|
|
rm -rf /buildscripts
|
2016-11-04 02:33:24 +01:00
|
|
|
|
2018-06-07 02:17:10 +02:00
|
|
|
# Runtime scripts
|
|
|
|
COPY manylinux-common/pre_exec.sh /dockcross/
|