fix: fix wheel reference in dockerfiles

This commit is contained in:
Robert Kaussow 2021-06-09 23:19:11 +02:00
parent 831fad522f
commit 8b21662ce5
3 changed files with 9 additions and 9 deletions

View File

@ -9,12 +9,12 @@ LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/prom
ENV PY_COLORS=1
ADD dist/prometheus_pve_sd--*.whl /
ADD dist/prometheus_pve_sd-*.whl /
RUN apk update && \
pip install --upgrade --no-cache-dir pip && \
pip install --no-cache-dir $(find / -name "prometheus_pve_sd--*.whl") && \
rm -f prometheus_pve_sd--*.whl && \
pip install --no-cache-dir $(find / -name "prometheus_pve_sd-*.whl") && \
rm -f prometheus_pve_sd-*.whl && \
rm -rf /var/cache/apk/* && \
rm -rf /root/.cache/

View File

@ -9,12 +9,12 @@ LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/prom
ENV PY_COLORS=1
ADD dist/prometheus_pve_sd--*.whl /
ADD dist/prometheus_pve_sd-*.whl /
RUN apk update && \
pip install --upgrade --no-cache-dir pip && \
pip install --no-cache-dir $(find / -name "prometheus_pve_sd--*.whl") && \
rm -f prometheus_pve_sd--*.whl && \
pip install --no-cache-dir $(find / -name "prometheus_pve_sd-*.whl") && \
rm -f prometheus_pve_sd-*.whl && \
rm -rf /var/cache/apk/* && \
rm -rf /root/.cache/

View File

@ -9,12 +9,12 @@ LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/prom
ENV PY_COLORS=1
ADD dist/prometheus_pve_sd--*.whl /
ADD dist/prometheus_pve_sd-*.whl /
RUN apk update && \
pip install --upgrade --no-cache-dir pip && \
pip install --no-cache-dir $(find / -name "prometheus_pve_sd--*.whl") && \
rm -f prometheus_pve_sd--*.whl && \
pip install --no-cache-dir $(find / -name "prometheus_pve_sd-*.whl") && \
rm -f prometheus_pve_sd-*.whl && \
rm -rf /var/cache/apk/* && \
rm -rf /root/.cache/