From 913cd1b55b39daa4c4a4a322cd58842c76f1739c Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 11 Apr 2020 13:27:58 +0200 Subject: [PATCH] use glob to install wheel --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 29c2bce..9eaf2d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,11 +13,10 @@ ADD dist/ansible_later-*.whl / RUN apk --update add --virtual .build-deps build-base libffi-dev libressl-dev && \ apk --update add git && \ pip install --upgrade --no-cache-dir pip && \ - pip install --no-cache-dir --find-links=. ansible-later && \ - apk del .build-deps && \ + pip install --no-cache-dir ansible_later-*.whl && \ + rm -f ansible_later-*.whl && \ rm -rf /var/cache/apk/* && \ rm -rf /root/.cache/ && \ - rm -f ansible_later-*.whl USER root CMD []