1
0
mirror of synced 2025-12-19 09:57:42 -05:00

Update Node.js from 22 to 24 in Docker configurations (#57477)

This commit is contained in:
Kevin Heis
2025-09-11 08:29:10 -07:00
committed by GitHub
parent 0e8264789e
commit b90622d7eb
3 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
# To find available Node images, see https://mcr.microsoft.com/en-us/product/devcontainers/javascript-node/tags
# [Choice] Node.js version
ARG VARIANT="dev-22-bullseye"
ARG VARIANT="dev-24-bullseye"
FROM mcr.microsoft.com/devcontainers/javascript-node:${VARIANT}

View File

@@ -6,7 +6,7 @@
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick a Node version
"args": { "VARIANT": "22" }
"args": { "VARIANT": "24" }
},
// Install features. Type 'feature' in the VS Code command palette for a full list.

View File

@@ -17,7 +17,7 @@ FROM ghcr.io/github/gh-base-image/gh-base-noble:20250805-204228-g50c20871f AS ba
# Ubuntu's apt-get install nodejs is _very_ outdated
# Must run as root
RUN apt-get -qq update && apt-get -qq install --no-install-recommends curl git \
&& curl -sL https://deb.nodesource.com/setup_22.x | bash - \
&& curl -sL https://deb.nodesource.com/setup_24.x | bash - \
&& apt-get install -y nodejs \
&& node --version