From 06ca0168aa76ed7871d90e1fe74be26231256b08 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Fri, 7 Aug 2026 14:59:46 -0600 Subject: [PATCH] Update base images to Node 22 --- nextjs-base/Containerfile | 7 +++++-- webapp-base/Containerfile | 5 +++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/nextjs-base/Containerfile b/nextjs-base/Containerfile index 1cc2994..0c1ba9e 100644 --- a/nextjs-base/Containerfile +++ b/nextjs-base/Containerfile @@ -1,6 +1,9 @@ # Originally from: https://github.com/devcontainers/images/blob/main/src/javascript-node/.devcontainer/Dockerfile -# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 18, 16, 14, 18-bullseye, 16-bullseye, 14-bullseye, 18-buster, 16-buster, 14-buster -ARG VARIANT=20-bullseye-slim +# +# Kept on the same node release as node-service-base. The floor is set by this +# image's own tooling rather than by the apps it builds: build-app.sh installs +# js-beautify, whose dependencies now require node 22. +ARG VARIANT=22-bookworm-slim FROM node:${VARIANT} ARG USERNAME=node diff --git a/webapp-base/Containerfile b/webapp-base/Containerfile index 856cc77..be3155b 100644 --- a/webapp-base/Containerfile +++ b/webapp-base/Containerfile @@ -1,6 +1,7 @@ # Originally from: https://github.com/devcontainers/images/blob/main/src/javascript-node/.devcontainer/Dockerfile -# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 18, 16, 14, 18-bullseye, 16-bullseye, 14-bullseye, 18-buster, 16-buster, 14-buster -ARG VARIANT=20-bullseye-slim +# +# Kept on the same node release as the other base images here. +ARG VARIANT=22-bookworm-slim FROM node:${VARIANT} ARG USERNAME=node