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 \
|
|
|
|
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 \
|
|
|
|
zip \
|
2018-06-05 07:13:23 +02:00
|
|
|
&& \
|
|
|
|
yum clean all && \
|
2018-06-07 02:17:10 +02:00
|
|
|
/buildscripts/install-gosu-binary.sh && \
|
2018-06-05 07:01:18 +02:00
|
|
|
# Remove sudo provided by "devtoolset-2" since it doesn't work with
|
|
|
|
# our sudo wrapper calling gosu.
|
2018-06-05 07:13:23 +02:00
|
|
|
rm /opt/rh/devtoolset-2/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/
|