From 8d8404ac325d844a0c7159e4657afe19f257aca4 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 4 Jan 2025 17:26:39 +0100 Subject: [PATCH] Update to Alpine 3.21 (NodeJS 22) --- .github/renovate.json | 2 +- node-red/Dockerfile | 18 ++++++++++-------- node-red/build.yaml | 6 +++--- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 6d537adfb..3cf6b302a 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -23,7 +23,7 @@ ], "versioningTemplate": "loose", "datasourceTemplate": "repology", - "depNameTemplate": "alpine_3_19/{{{replace 'openssh-client' 'openssh' package}}}" + "depNameTemplate": "alpine_3_21/{{{replace 'openssh-client' 'openssh' package}}}" } ], "packageRules": [ diff --git a/node-red/Dockerfile b/node-red/Dockerfile index 6ec648b31..e24d98f95 100644 --- a/node-red/Dockerfile +++ b/node-red/Dockerfile @@ -1,4 +1,4 @@ -ARG BUILD_FROM=ghcr.io/hassio-addons/base-nodejs:0.2.5 +ARG BUILD_FROM=ghcr.io/hassio-addons/base:17.0.2 # hadolint ignore=DL3006 FROM ${BUILD_FROM} @@ -16,15 +16,17 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"] RUN \ apk add --no-cache --virtual .build-dependencies \ build-base=0.5-r3 \ - linux-headers=6.5-r0 \ - py3-pip=23.3.1-r0 \ - python3-dev=3.11.11-r0 \ + linux-headers=6.6-r1 \ + py3-pip=24.3.1-r0 \ + python3-dev=3.12.8-r1 \ \ && apk add --no-cache \ - git=2.43.5-r0 \ - icu-data-full=74.1-r0 \ - nginx=1.24.0-r16 \ - openssh-client=9.6_p1-r1 \ + git=2.47.1-r0 \ + icu-data-full=74.2-r0 \ + nginx=1.26.2-r4 \ + nodejs=22.11.0-r1 \ + npm=10.9.1-r0 \ + openssh-client=9.9_p1-r2 \ patch=2.7.6-r10 \ \ && npm install \ diff --git a/node-red/build.yaml b/node-red/build.yaml index 946136fc8..5d1629833 100644 --- a/node-red/build.yaml +++ b/node-red/build.yaml @@ -1,8 +1,8 @@ --- build_from: - aarch64: ghcr.io/hassio-addons/base-nodejs:0.2.5 - amd64: ghcr.io/hassio-addons/base-nodejs:0.2.5 - armv7: ghcr.io/hassio-addons/base-nodejs:0.2.5 + aarch64: ghcr.io/hassio-addons/base:17.0.2 + amd64: ghcr.io/hassio-addons/base:17.0.2 + armv7: ghcr.io/hassio-addons/base:17.0.2 codenotary: base_image: codenotary@frenck.dev signer: codenotary@frenck.dev