summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2017-07-23 18:17:04 +0200
committerAnthon van der Neut <anthon@mnt.org>2017-07-23 18:17:04 +0200
commit5ca212cf8af6524671ccf4527e6421854537cdac (patch)
tree2c726b9d0b76f2d3fd6931fc7a99a44bcf2aee2f /Dockerfile
parent26a8a6077228f7b67e9fafc6e2b5ba8c9c5464ac (diff)
downloadruamel.yaml-5ca212cf8af6524671ccf4527e6421854537cdac.tar.gz
docker and appveyor update
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile29
1 files changed, 17 insertions, 12 deletions
diff --git a/Dockerfile b/Dockerfile
index f4ba2c7..0482f06 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,18 +6,23 @@ 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
-RUN echo 'for whl in /tmp/*.whl; do' >> /usr/bin/makewheel
-RUN echo ' auditwheel repair "$whl" -w /src/dist/' >> /usr/bin/makewheel
-RUN echo 'done' >> /usr/bin/makewheel
+RUN echo 'rm -f /tmp/*.whl' >> /usr/bin/makewheel
+RUN echo 'for PYVER in $*; do' >> /usr/bin/makewheel
+RUN echo ' for PYBIN in /opt/python/cp$PYVER*/bin/; do' >> /usr/bin/makewheel
+RUN echo ' echo "$PYBIN"' >> /usr/bin/makewheel
+RUN echo ' ${PYBIN}/pip install -Uq pip' >> /usr/bin/makewheel
+RUN echo ' ${PYBIN}/pip wheel . -w /tmp' >> /usr/bin/makewheel
+RUN echo ' done' >> /usr/bin/makewheel
+RUN echo 'done' >> /usr/bin/makewheel
+RUN echo '' >> /usr/bin/makewheel
+RUN echo 'for whl in /tmp/*.whl; do' >> /usr/bin/makewheel
+RUN echo ' auditwheel repair "$whl" -w /src/dist/' >> /usr/bin/makewheel
+RUN echo 'done' >> /usr/bin/makewheel
RUN chmod 755 /usr/bin/makewheel
-RUN yum install -y libyaml-devel
+# RUN yum install -y libyaml-devel
+
+CMD /usr/bin/makewheel 27 33 34 35 36
+
+#cp26-cp26m cp27-cp27m cp33-cp33m cp35-cp35m cp26-cp26mu cp27-cp27mu cp34-cp34m cp36-cp36m
-CMD /usr/bin/makewheel