mirror of
https://github.com/thegeeklab/prometheus-pve-sd.git
synced 2024-11-24 02:10:40 +00:00
chore: add build deps to Dockerfile (#120)
This commit is contained in:
parent
8919c8fcfd
commit
dd789b087f
@ -8,10 +8,11 @@ LABEL org.opencontainers.image.source="https://github.com/thegeeklab/prometheus-
|
|||||||
LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/prometheus-pve-sd/"
|
LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/prometheus-pve-sd/"
|
||||||
|
|
||||||
ENV PY_COLORS=1
|
ENV PY_COLORS=1
|
||||||
|
ENV TZ=UTC
|
||||||
|
|
||||||
ADD dist/prometheus_pve_sd-*.whl /
|
ADD dist/prometheus_pve_sd-*.whl /
|
||||||
|
|
||||||
RUN apk update && \
|
RUN apk --update add --virtual .build-deps build-base libffi-dev openssl-dev && \
|
||||||
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 && \
|
||||||
|
@ -8,10 +8,11 @@ LABEL org.opencontainers.image.source="https://github.com/thegeeklab/prometheus-
|
|||||||
LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/prometheus-pve-sd/"
|
LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/prometheus-pve-sd/"
|
||||||
|
|
||||||
ENV PY_COLORS=1
|
ENV PY_COLORS=1
|
||||||
|
ENV TZ=UTC
|
||||||
|
|
||||||
ADD dist/prometheus_pve_sd-*.whl /
|
ADD dist/prometheus_pve_sd-*.whl /
|
||||||
|
|
||||||
RUN apk update && \
|
RUN apk --update add --virtual .build-deps build-base libffi-dev openssl-dev && \
|
||||||
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 && \
|
||||||
|
@ -8,10 +8,11 @@ LABEL org.opencontainers.image.source="https://github.com/thegeeklab/prometheus-
|
|||||||
LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/prometheus-pve-sd/"
|
LABEL org.opencontainers.image.documentation="https://github.com/thegeeklab/prometheus-pve-sd/"
|
||||||
|
|
||||||
ENV PY_COLORS=1
|
ENV PY_COLORS=1
|
||||||
|
ENV TZ=UTC
|
||||||
|
|
||||||
ADD dist/prometheus_pve_sd-*.whl /
|
ADD dist/prometheus_pve_sd-*.whl /
|
||||||
|
|
||||||
RUN apk update && \
|
RUN apk --update add --virtual .build-deps build-base libffi-dev openssl-dev && \
|
||||||
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 && \
|
||||||
|
Loading…
Reference in New Issue
Block a user