Switch to custom NodeJS base image

This commit is contained in:
Franck Nijhof 2024-01-05 23:49:05 +01:00
parent ece997acb8
commit 586e380285
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3
2 changed files with 4 additions and 6 deletions

View file

@ -1,4 +1,4 @@
ARG BUILD_FROM=ghcr.io/hassio-addons/base:15.0.1
ARG BUILD_FROM=ghcr.io/hassio-addons/base-nodejs:0.1.0
# hadolint ignore=DL3006
FROM ${BUILD_FROM}
@ -11,12 +11,10 @@ RUN \
git=2.43.0-r0 \
make=4.4.1-r2 \
python3=3.11.6-r1 \
yarn=1.22.19-r0 \
\
&& apk add --no-cache \
icu-data-full=74.1-r0 \
nginx=1.24.0-r14 \
nodejs=20.10.0-r1 \
\
&& yarn global add \
modclean@3.0.0-beta.1 \

View file

@ -1,8 +1,8 @@
---
build_from:
aarch64: ghcr.io/hassio-addons/base:15.0.1
amd64: ghcr.io/hassio-addons/base:15.0.1
armv7: ghcr.io/hassio-addons/base:15.0.1
aarch64: ghcr.io/hassio-addons/base-nodejs:0.1.0
amd64: ghcr.io/hassio-addons/base-nodejs:0.1.0
armv7: ghcr.io/hassio-addons/base-nodejs:0.1.0
codenotary:
base_image: codenotary@frenck.dev
signer: codenotary@frenck.dev