From c3fcbe6208b5f474de6f7fc5a277ef4d16b168a6 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 18 Jul 2022 18:27:28 +0200 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Upgrades=20add-on=20base?= =?UTF-8?q?=20image=20to=2012.2.1=20(#7)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uptime-kuma/Dockerfile | 9 ++++----- uptime-kuma/build.yaml | 10 +++++----- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/uptime-kuma/Dockerfile b/uptime-kuma/Dockerfile index b697c11..0117381 100644 --- a/uptime-kuma/Dockerfile +++ b/uptime-kuma/Dockerfile @@ -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} @@ -12,12 +12,11 @@ COPY requirements.txt /opt/ SHELL ["/bin/bash", "-o", "pipefail", "-c"] # Setup base -# hadolint ignore=DL3003 +# hadolint ignore=DL3003,DL3042 RUN \ apk add --no-cache --virtual .build-dependencies \ - build-base=0.5-r2 \ + build-base=0.5-r3 \ py3-pip=22.1.1-r0 \ - python3-dev=3.10.4-r0 \ \ && apk add --no-cache \ nodejs=16.15.0-r1 \ @@ -34,7 +33,7 @@ RUN \ \ && cd /opt/uptime-kuma \ \ - && pip install --no-cache-dir -r /opt/requirements.txt \ + && pip install -r /opt/requirements.txt \ \ && npm ci \ --production \ diff --git a/uptime-kuma/build.yaml b/uptime-kuma/build.yaml index 9f7b211..808a222 100644 --- a/uptime-kuma/build.yaml +++ b/uptime-kuma/build.yaml @@ -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