mirror of
https://github.com/thegeeklab/prometheus-pve-sd.git
synced 2024-11-23 18:00:39 +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/"
|
||||
|
||||
ENV PY_COLORS=1
|
||||
ENV TZ=UTC
|
||||
|
||||
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 --no-cache-dir $(find / -name "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/"
|
||||
|
||||
ENV PY_COLORS=1
|
||||
ENV TZ=UTC
|
||||
|
||||
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 --no-cache-dir $(find / -name "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/"
|
||||
|
||||
ENV PY_COLORS=1
|
||||
ENV TZ=UTC
|
||||
|
||||
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 --no-cache-dir $(find / -name "prometheus_pve_sd-*.whl") && \
|
||||
rm -f prometheus_pve_sd-*.whl && \
|
||||
|
Loading…
Reference in New Issue
Block a user