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