mirror of
https://github.com/hassio-addons/addon-glances.git
synced 2025-05-05 03:21:36 +00:00
⬆️ Upgrades add-on base image to 12.2.1 (#269)
* ⬆️ Upgrades add-on base image to 12.2.1
* Clean up Dockerfile with new base image features
This commit is contained in:
parent
8e9efba151
commit
2036e289bc
2 changed files with 10 additions and 18 deletions
|
@ -1,4 +1,4 @@
|
|||
ARG BUILD_FROM=ghcr.io/hassio-addons/base/amd64:12.0.0
|
||||
ARG BUILD_FROM=ghcr.io/hassio-addons/base:12.2.1
|
||||
# hadolint ignore=DL3006
|
||||
FROM ${BUILD_FROM}
|
||||
|
||||
|
@ -9,24 +9,16 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|||
COPY requirements.txt /tmp/
|
||||
|
||||
# Setup base
|
||||
ARG BUILD_ARCH=amd64
|
||||
# hadolint ignore=DL3042
|
||||
RUN \
|
||||
apk add --no-cache --virtual .build-dependencies \
|
||||
automake=1.16.5-r0 \
|
||||
build-base=0.5-r2 \
|
||||
linux-headers=5.16.7-r1 \
|
||||
python3-dev=3.10.4-r0 \
|
||||
py3-pip=22.1.1-r0 \
|
||||
\
|
||||
&& apk add --no-cache \
|
||||
nginx=1.22.0-r0 \
|
||||
py3-pip=22.1.1-r0 \
|
||||
nginx=1.22.0-r1 \
|
||||
python3=3.10.4-r0 \
|
||||
\
|
||||
&& pip3 install \
|
||||
--no-cache-dir \
|
||||
--prefer-binary \
|
||||
--find-links "https://wheels.home-assistant.io/alpine-3.16/${BUILD_ARCH}/" \
|
||||
-r /tmp/requirements.txt \
|
||||
&& pip3 install -r /tmp/requirements.txt \
|
||||
\
|
||||
&& find /usr/local \
|
||||
\( -type d -a -name test -o -name tests -o -name '__pycache__' \) \
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
build_from:
|
||||
aarch64: ghcr.io/hassio-addons/base/aarch64:12.0.0
|
||||
amd64: ghcr.io/hassio-addons/base/amd64:12.0.0
|
||||
armhf: ghcr.io/hassio-addons/base/armhf:12.0.0
|
||||
armv7: ghcr.io/hassio-addons/base/armv7:12.0.0
|
||||
i386: ghcr.io/hassio-addons/base/i386:12.0.0
|
||||
aarch64: ghcr.io/hassio-addons/base:12.2.1
|
||||
amd64: ghcr.io/hassio-addons/base:12.2.1
|
||||
armhf: ghcr.io/hassio-addons/base:12.2.1
|
||||
armv7: ghcr.io/hassio-addons/base:12.2.1
|
||||
i386: ghcr.io/hassio-addons/base:12.2.1
|
||||
codenotary:
|
||||
base_image: codenotary@frenck.dev
|
||||
signer: codenotary@frenck.dev
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue