File tree Expand file tree Collapse file tree 2 files changed +4
-15
lines changed Expand file tree Collapse file tree 2 files changed +4
-15
lines changed Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/devcontainers/base:1 -bookworm
1+ FROM mcr.microsoft.com/devcontainers/javascript-node:1-20 -bookworm
22
3- RUN apt-get update && apt-get install -y shellcheck
3+ RUN apt-get update && apt-get install -y shellcheck
Original file line number Diff line number Diff line change 1- // For format details, see https://aka.ms/devcontainer.json. For config options, see the
2- // README at: https://github.com/devcontainers/templates/tree/main/src/docker-in-docker
31{
42 "name" : " Docker in Docker" ,
53 "build" : {
64 "dockerfile" : " Dockerfile"
75 },
86
97 "features" : {
10- "ghcr.io/devcontainers/features/docker-in-docker:2" : {
11- "version" : " latest" ,
12- "enableNonRootDocker" : " true" ,
13- "moby" : " true"
14- }
8+ "ghcr.io/devcontainers/features/docker-in-docker:2" : {}
159 },
1610
17- // Use 'forwardPorts' to make a list of ports inside the container available locally.
18- // "forwardPorts": [],
19-
20- // Use 'postCreateCommand' to run commands after the container is created.
21- "postCreateCommand" : " npm install -g @devcontainers/cli" ,
11+ "updateContentCommand" : " npm install -g @devcontainers/cli" ,
2212
23- // Configure tool-specific properties.
2413 "customizations" : {
2514 "vscode" : {
2615 "settings" : {
You can’t perform that action at this time.
0 commit comments