diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..20151c6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +FROM quay.io/pypa/manylinux1_x86_64 + +MAINTAINER Anthon van der Neut <a.van.der.neut@ruamel.eu> + +RUN echo 'cd /src' > /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 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 chmod 755 /usr/bin/makewheel + +RUN yum install -y libyaml-devel + + +CMD /usr/bin/makewheel
\ No newline at end of file |