mirror of
https://github.com/hassio-addons/addon-prometheus.git
synced 2025-05-04 19:21:35 +00:00
⬆️ Upgrades add-on base image to v10.0.1
This commit is contained in:
parent
40a5b806b0
commit
6ef57a6eb6
2 changed files with 13 additions and 13 deletions
|
@ -1,4 +1,4 @@
|
||||||
ARG BUILD_FROM=hassioaddons/base:8.0.1
|
ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:10.0.1
|
||||||
# hadolint ignore=DL3006
|
# hadolint ignore=DL3006
|
||||||
FROM ${BUILD_FROM}
|
FROM ${BUILD_FROM}
|
||||||
|
|
||||||
|
@ -18,15 +18,15 @@ RUN \
|
||||||
&& 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=3.8.5-r0 \
|
python3=3.9.5-r1 \
|
||||||
py3-idna=2.9-r0 \
|
py3-idna=3.2-r0 \
|
||||||
py3-certifi=2020.4.5.1-r0 \
|
py3-certifi=2020.12.5-r1 \
|
||||||
py3-chardet=3.0.4-r4 \
|
py3-chardet=4.0.0-r2 \
|
||||||
py3-yaml=5.3.1-r0 \
|
py3-yaml=5.4.1.1-r1 \
|
||||||
py3-urllib3=1.25.9-r0 \
|
py3-urllib3=1.26.5-r0 \
|
||||||
py3-requests=2.23.0-r0 \
|
py3-requests=2.25.1-r4\
|
||||||
&& apk --no-cache add --virtual .builddeps \
|
&& apk --no-cache add --virtual .builddeps \
|
||||||
py-pip=20.1.1-r0 \
|
py-pip=20.3.4-r1 \
|
||||||
\
|
\
|
||||||
&& 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" \
|
||||||
|
@ -43,7 +43,7 @@ RUN \
|
||||||
&& pip3 install \
|
&& pip3 install \
|
||||||
--no-cache-dir \
|
--no-cache-dir \
|
||||||
--prefer-binary \
|
--prefer-binary \
|
||||||
--find-links "https://wheels.home-assistant.io/alpine-3.12/${BUILD_ARCH}/" \
|
--find-links "https://wheels.home-assistant.io/alpine-3.14/${BUILD_ARCH}/" \
|
||||||
-r /opt/prometheus-configgen/requirements.txt \
|
-r /opt/prometheus-configgen/requirements.txt \
|
||||||
\
|
\
|
||||||
&& apk --no-cache del .builddeps \
|
&& apk --no-cache del .builddeps \
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"build_from": {
|
"build_from": {
|
||||||
"aarch64": "hassioaddons/base-aarch64:8.0.1",
|
"aarch64": "ghcr.io/hassio-addons/base/aarch64:10.0.1",
|
||||||
"amd64": "hassioaddons/base-amd64:8.0.1",
|
"amd64": "ghcr.io/hassio-addons/base/amd64:10.0.1",
|
||||||
"armv7": "hassioaddons/base-armv7:8.0.1"
|
"armv7": "ghcr.io/hassio-addons/base/armv7:10.0.1"
|
||||||
},
|
},
|
||||||
"args": {}
|
"args": {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue