fix: fix wheel reference in dockerfiles
This commit is contained in:
parent
831fad522f
commit
8b21662ce5
|
@ -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/
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
|
Loading…
Reference in New Issue