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 \
|
2021-05-18 23:49:41 +02:00
|
|
|
$([ "$DEFAULT_DOCKCROSS_IMAGE" = "dockcross/manylinux2014-x86" ] && echo "" || echo "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm") \
|
2018-06-05 05:53:38 +02:00
|
|
|
gpg \
|
|
|
|
zlib-devel \
|
|
|
|
gettext \
|
2018-06-05 05:59:32 +02:00
|
|
|
openssh-clients \
|
|
|
|
pax \
|
2018-08-20 01:05:58 +02:00
|
|
|
wget \
|
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 && \
|
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/
|