blob: ef42f248ab57352bd554598ad689b5c30fd2f0a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
FROM quay.io/pypa/manylinux1_x86_64:latest
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 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 ' echo processing "$whl"' >> /usr/bin/makewheel
RUN echo ' auditwheel show "$whl"' >> /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
CMD /usr/bin/makewheel 27 35 36 37
# cp27-cp27m p27-cp27mu cp34-cp34m cp35-cp35m cp36-cp36m cp37-cp37m
|