fix wheel installation

This commit is contained in:
Robert Kaussow 2019-10-08 17:02:40 +02:00
parent 85ac5312ab
commit e0565bd5ca

View File

@ -6,13 +6,13 @@ LABEL maintainer="Robert Kaussow <mail@geeklabor.de>" \
org.label-schema.vendor="Robert Kaussow" \
org.label-schema.schema-version="1.0"
ADD dist/ansible_doctor*.whl /ansible_doctor.whl
ADD dist/ansible_doctor-*.whl /
RUN \
apk update --no-cache \
apk update --no-cache && \
rm -rf /var/cache/apk/* && \
pip install --upgrade --no-cache-dir pip && \
pip install --no-cache-dir ansible_doctor.whl && \
pip install --no-cache-dir --find-links=. ansible-doctor && \
rm -f ansible_doctor.whl && \
rm -rf /root/.cache/