use find syntax to install wheel

This commit is contained in:
Robert Kaussow 2021-01-03 15:36:26 +01:00
parent 4a6e468e1f
commit 24e39a7088
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
3 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ ADD dist/docker_tidy-*.whl /
RUN \ RUN \
apk --update add --virtual .build-deps gcc g++ && \ apk --update add --virtual .build-deps gcc g++ && \
pip install --upgrade --no-cache-dir pip && \ pip install --upgrade --no-cache-dir pip && \
pip install --no-cache-dir docker_tidy-*.whl && \ pip install --no-cache-dir $(find / -name "docker_tidy-*.whl") && \
apk del .build-deps && \ apk del .build-deps && \
rm -f docker_tidy-*.whl && \ rm -f docker_tidy-*.whl && \
rm -rf /var/cache/apk/* && \ rm -rf /var/cache/apk/* && \

View File

@ -15,7 +15,7 @@ ADD dist/docker_tidy-*.whl /
RUN \ RUN \
apk --update add --virtual .build-deps gcc g++ && \ apk --update add --virtual .build-deps gcc g++ && \
pip install --upgrade --no-cache-dir pip && \ pip install --upgrade --no-cache-dir pip && \
pip install --no-cache-dir docker_tidy-*.whl && \ pip install --no-cache-dir $(find / -name "docker_tidy-*.whl") && \
apk del .build-deps && \ apk del .build-deps && \
rm -f docker_tidy-*.whl && \ rm -f docker_tidy-*.whl && \
rm -rf /var/cache/apk/* && \ rm -rf /var/cache/apk/* && \

View File

@ -15,7 +15,7 @@ ADD dist/docker_tidy-*.whl /
RUN \ RUN \
apk --update add --virtual .build-deps gcc g++ && \ apk --update add --virtual .build-deps gcc g++ && \
pip install --upgrade --no-cache-dir pip && \ pip install --upgrade --no-cache-dir pip && \
pip install --no-cache-dir docker_tidy-*.whl && \ pip install --no-cache-dir $(find / -name "docker_tidy-*.whl") && \
apk del .build-deps && \ apk del .build-deps && \
rm -f docker_tidy-*.whl && \ rm -f docker_tidy-*.whl && \
rm -rf /var/cache/apk/* && \ rm -rf /var/cache/apk/* && \