Skip to content

Commit b90622d

Browse files
authored
Update Node.js from 22 to 24 in Docker configurations (#57477)
1 parent 0e82647 commit b90622d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# To find available Node images, see https://mcr.microsoft.com/en-us/product/devcontainers/javascript-node/tags
22

33
# [Choice] Node.js version
4-
ARG VARIANT="dev-22-bullseye"
4+
ARG VARIANT="dev-24-bullseye"
55
FROM mcr.microsoft.com/devcontainers/javascript-node:${VARIANT}

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"build": {
77
"dockerfile": "Dockerfile",
88
// Update 'VARIANT' to pick a Node version
9-
"args": { "VARIANT": "22" }
9+
"args": { "VARIANT": "24" }
1010
},
1111

1212
// Install features. Type 'feature' in the VS Code command palette for a full list.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ FROM ghcr.io/github/gh-base-image/gh-base-noble:20250805-204228-g50c20871f AS ba
1717
# Ubuntu's apt-get install nodejs is _very_ outdated
1818
# Must run as root
1919
RUN apt-get -qq update && apt-get -qq install --no-install-recommends curl git \
20-
&& curl -sL https://deb.nodesource.com/setup_22.x | bash - \
20+
&& curl -sL https://deb.nodesource.com/setup_24.x | bash - \
2121
&& apt-get install -y nodejs \
2222
&& node --version
2323

0 commit comments

Comments
 (0)