Skip to content
Snippets Groups Projects
Commit 68bd31dd authored by nimrod's avatar nimrod
Browse files

Rebase on UBI (Centos) 7.

The manylinux image is building Python in a way that doesn't allow
linking to libpython. That's reasonable for most cases, but Pyinstaller
needs to bundle it for creating a single executable. Instead go for the
base image and use the OS packaged Python.
parent 40c8ba1f
No related branches found
No related tags found
No related merge requests found
# hadolint ignore=DL3006 # hadolint ignore=DL3006
FROM quay.io/pypa/manylinux2014_x86_64 FROM registry.access.redhat.com/ubi7/ubi
ENV PATH /opt/python/cp36-cp36m/bin:/opt/rh/devtoolset-9/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin # hadolint ignore=DL3013,DL3033
# hadolint ignore=DL3013 RUN yum install -y --disableplugin=subscription-manager \
RUN pip install --no-cache-dir --progress-bar=off \ autoconf \
automake \
binutils \
bison \
byacc \
cscope \
ctags \
diffstat \
doxygen \
elfutils \
flex \
gcc \
gcc-c++ \
gcc-gfortran \
gettext \
git \
indent \
intltool \
libtool \
make \
patch \
patchutils \
pkgconfig \
rcs \
redhat-rpm-config \
rh-python36-python-devel \
rh-python36-python-pip \
rpm-build \
rpm-sign \
subversion \
swig \
systemtap \
&& \
yum --disableplugin=subscription-manager clean all && \
pip install --no-cache-dir --progress-bar=off \
docutils \ docutils \
pipenv \ pipenv \
poetry \ poetry \
...@@ -12,4 +46,4 @@ RUN pip install --no-cache-dir --progress-bar=off \ ...@@ -12,4 +46,4 @@ RUN pip install --no-cache-dir --progress-bar=off \
twine \ twine \
wheel \ wheel \
&& \ && \
rm -rf /tmp/* /var/tmp/* /root/.cache/* rm -rf /tmp/* /var/tmp/* ~/.cache/* /var/cache/yum/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment