summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 8d75095..f4ba2c7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,10 +2,14 @@ FROM quay.io/pypa/manylinux1_x86_64
MAINTAINER Anthon van der Neut <a.van.der.neut@ruamel.eu>
+RUN echo '[global]' > /etc/pip.conf
+RUN echo 'disable-pip-version-check = true' >> /etc/pip.conf
+
RUN echo 'cd /src' > /usr/bin/makewheel
RUN echo 'rm -f /tmp/*.whl' >> /usr/bin/makewheel
RUN echo 'for PYBIN in /opt/python/$1*/bin/; do' >> /usr/bin/makewheel
RUN echo ' echo "$PYBIN"' >> /usr/bin/makewheel
+RUN echo ' ${PYBIN}/pip install -U pip' >> /usr/bin/makewheel
RUN echo ' ${PYBIN}/pip wheel . -w /tmp' >> /usr/bin/makewheel
RUN echo 'done' >> /usr/bin/makewheel
RUN echo '' >> /usr/bin/makewheel
@@ -16,5 +20,4 @@ RUN chmod 755 /usr/bin/makewheel
RUN yum install -y libyaml-devel
-
CMD /usr/bin/makewheel