#0000 - Update Node.js version from 18 to 20

Changed the ARG_NODE_MAJOR in Dockerfile and updated corresponding tags in .woodpecker.yml to reflect the new Node.js version. This ensures that the build process uses the latest version of Node.js.
This commit is contained in:
Guillaume "B.B." Van Hemmen 2024-10-17 11:16:01 +02:00
parent c58301177c
commit 4966b1242a
Signed by: GuillaumeHemmen
GPG key ID: 7921E64524F7EB35
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ steps:
image: woodpeckerci/plugin-docker-buildx image: woodpeckerci/plugin-docker-buildx
settings: settings:
repo: git.van-hemmen.com/guillaumehemmen/debian-node-firebase repo: git.van-hemmen.com/guillaumehemmen/debian-node-firebase
tags: latest,debian_12-node_18 tags: latest,debian_12-node_20
registry: git.van-hemmen.com registry: git.van-hemmen.com
username: username:
from_secret: docker_username from_secret: docker_username

View file

@ -3,7 +3,7 @@ FROM debian:12
LABEL maintainer="guillaume@van-hemmen.com" LABEL maintainer="guillaume@van-hemmen.com"
ARG ARG_TZ="Europe/Paris" ARG ARG_TZ="Europe/Paris"
ARG ARG_NODE_MAJOR=18 ARG ARG_NODE_MAJOR=20
RUN ln -snf /usr/share/zoneinfo/$ARG_TZ /etc/localtime && echo $ARG_TZ > /etc/timezone && \ RUN ln -snf /usr/share/zoneinfo/$ARG_TZ /etc/localtime && echo $ARG_TZ > /etc/timezone && \
apt-get update && apt-get install -y ca-certificates curl gnupg && \ apt-get update && apt-get install -y ca-certificates curl gnupg && \