Skip to content

Commit f9ea7fe

Browse files
Node.js 20 upgrade for dev container (#1189)
* dev container to node 20 Signed-off-by: Brooke Hamilton <45323234+brooke-hamilton@users.noreply.github.com> * lock file Signed-off-by: Brooke Hamilton <45323234+brooke-hamilton@users.noreply.github.com> --------- Signed-off-by: Brooke Hamilton <45323234+brooke-hamilton@users.noreply.github.com>
1 parent 85a61a0 commit f9ea7fe

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License. See License.txt in the project root for license information.
3-
ARG VARIANT="16-bullseye"
3+
ARG VARIANT="20-bookworm"
44
FROM mcr.microsoft.com/devcontainers/typescript-node:1-${VARIANT}
55

66
RUN mkdir -p /workspaces && chown node:node /workspaces
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"features": {
3+
"ghcr.io/devcontainers/features/docker-in-docker:2": {
4+
"version": "2.16.1",
5+
"resolved": "ghcr.io/devcontainers/features/docker-in-docker@sha256:ce078b7bf7d9ef3bcb9813b32103795d8d72172446890b64772cbe1dec6baafd",
6+
"integrity": "sha256:ce078b7bf7d9ef3bcb9813b32103795d8d72172446890b64772cbe1dec6baafd"
7+
}
8+
}
9+
}

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build": {
88
"dockerfile": "Dockerfile",
99
"args": {
10-
"VARIANT": "18-bookworm"
10+
"VARIANT": "20-bookworm"
1111
}
1212
},
1313
"mounts": [

0 commit comments

Comments
 (0)