mirror of
https://github.com/thegeeklab/prometheus-pve-sd.git
synced 2024-11-22 01:10:39 +00:00
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
|
ENV PY_COLORS=1
|
||||||
|
|
||||||
ADD dist/prometheus_pve_sd--*.whl /
|
ADD dist/prometheus_pve_sd-*.whl /
|
||||||
|
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
pip install --upgrade --no-cache-dir pip && \
|
pip install --upgrade --no-cache-dir pip && \
|
||||||
pip install --no-cache-dir $(find / -name "prometheus_pve_sd--*.whl") && \
|
pip install --no-cache-dir $(find / -name "prometheus_pve_sd-*.whl") && \
|
||||||
rm -f prometheus_pve_sd--*.whl && \
|
rm -f prometheus_pve_sd-*.whl && \
|
||||||
rm -rf /var/cache/apk/* && \
|
rm -rf /var/cache/apk/* && \
|
||||||
rm -rf /root/.cache/
|
rm -rf /root/.cache/
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@ LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/prom
|
|||||||
|
|
||||||
ENV PY_COLORS=1
|
ENV PY_COLORS=1
|
||||||
|
|
||||||
ADD dist/prometheus_pve_sd--*.whl /
|
ADD dist/prometheus_pve_sd-*.whl /
|
||||||
|
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
pip install --upgrade --no-cache-dir pip && \
|
pip install --upgrade --no-cache-dir pip && \
|
||||||
pip install --no-cache-dir $(find / -name "prometheus_pve_sd--*.whl") && \
|
pip install --no-cache-dir $(find / -name "prometheus_pve_sd-*.whl") && \
|
||||||
rm -f prometheus_pve_sd--*.whl && \
|
rm -f prometheus_pve_sd-*.whl && \
|
||||||
rm -rf /var/cache/apk/* && \
|
rm -rf /var/cache/apk/* && \
|
||||||
rm -rf /root/.cache/
|
rm -rf /root/.cache/
|
||||||
|
|
||||||
|
@ -9,12 +9,12 @@ LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/prom
|
|||||||
|
|
||||||
ENV PY_COLORS=1
|
ENV PY_COLORS=1
|
||||||
|
|
||||||
ADD dist/prometheus_pve_sd--*.whl /
|
ADD dist/prometheus_pve_sd-*.whl /
|
||||||
|
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
pip install --upgrade --no-cache-dir pip && \
|
pip install --upgrade --no-cache-dir pip && \
|
||||||
pip install --no-cache-dir $(find / -name "prometheus_pve_sd--*.whl") && \
|
pip install --no-cache-dir $(find / -name "prometheus_pve_sd-*.whl") && \
|
||||||
rm -f prometheus_pve_sd--*.whl && \
|
rm -f prometheus_pve_sd-*.whl && \
|
||||||
rm -rf /var/cache/apk/* && \
|
rm -rf /var/cache/apk/* && \
|
||||||
rm -rf /root/.cache/
|
rm -rf /root/.cache/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user