2018-06-07 02:17:10 +02:00
|
|
|
# Image build scripts
|
2018-06-05 05:59:32 +02:00
|
|
|
COPY \
|
|
|
|
imagefiles/install-gosu-binary.sh \
|
2019-06-08 23:47:03 +02:00
|
|
|
imagefiles/install-gosu-binary-wrapper.sh \
|
2018-06-05 05:59:32 +02:00
|
|
|
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 \
|
2018-06-05 05:53:38 +02:00
|
|
|
epel-release \
|
|
|
|
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 && \
|
|
|
|
/buildscripts/install-gosu-binary.sh && \
|
|
|
|
/buildscripts/install-gosu-binary-wrapper.sh && \
|
2019-05-22 09:21:10 +02:00
|
|
|
# Remove sudo provided by "devtoolset-2" and "devtoolset-8" 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 && \
|
|
|
|
rm -f /opt/rh/devtoolset-8/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/
|