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