mirror of
https://github.com/hassio-addons/addon-prometheus.git
synced 2025-05-04 19:21:35 +00:00
👕 hadolint fixes
This commit is contained in:
parent
61ec48dc0a
commit
6ce97f6ae3
1 changed files with 9 additions and 8 deletions
|
@ -12,20 +12,21 @@ ENV PROMETHEUS_VERSION=2.19.2
|
||||||
# Copy root filesystem
|
# Copy root filesystem
|
||||||
COPY rootfs /
|
COPY rootfs /
|
||||||
|
|
||||||
|
# hadolint ignore=DL3003
|
||||||
RUN \
|
RUN \
|
||||||
ARCH="${BUILD_ARCH}" \
|
ARCH="${BUILD_ARCH}" \
|
||||||
&& if [ "${BUILD_ARCH}" = "aarch64" ]; then ARCH="arm64"; fi \
|
&& if [ "${BUILD_ARCH}" = "aarch64" ]; then ARCH="arm64"; fi \
|
||||||
\
|
\
|
||||||
&& apk --no-cache add \
|
&& apk --no-cache add \
|
||||||
python3 \
|
python3=3.8.5-r0 \
|
||||||
py3-idna \
|
py3-idna=2.9-r0 \
|
||||||
py3-certifi \
|
py3-certifi=2020.4.5.1-r0 \
|
||||||
py3-chardet \
|
py3-chardet=3.0.4-r4 \
|
||||||
py3-yaml \
|
py3-yaml=5.3.1-r0 \
|
||||||
py3-urllib3 \
|
py3-urllib3=1.25.9-r0 \
|
||||||
py3-requests \
|
py3-requests=2.23.0-r0 \
|
||||||
&& apk --no-cache add --virtual .builddeps \
|
&& apk --no-cache add --virtual .builddeps \
|
||||||
py-pip \
|
py-pip=20.1.1-r0 \
|
||||||
\
|
\
|
||||||
&& curl -J -L -o /tmp/prometheus.tar.gz \
|
&& curl -J -L -o /tmp/prometheus.tar.gz \
|
||||||
"https://github.com/prometheus/prometheus/releases/download/v${PROMETHEUS_VERSION}/prometheus-${PROMETHEUS_VERSION}.linux-${ARCH}.tar.gz" \
|
"https://github.com/prometheus/prometheus/releases/download/v${PROMETHEUS_VERSION}/prometheus-${PROMETHEUS_VERSION}.linux-${ARCH}.tar.gz" \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue