Skip to content

Commit

Permalink
WIP: Add NODE_VERSION (does not work)
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>
  • Loading branch information
astrojuanlu committed Feb 3, 2025
1 parent f94a0ce commit 8cddcdc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@
"VIRTUAL_ENV": "/home/vscode/venv"
},

// FIXME: Why does it say "Property build is not allowed" despite it being part of the standard and the docs?
// https://containers.dev/implementors/json_reference/#image-specific
// https://code.visualstudio.com/docs/devcontainers/create-dev-container#_dockerfile
"build": {
"args": {
"NODE_VERSION": "18"
}
},

"onCreateCommand": "./.devcontainer/onCreateCommand.sh",

"postStartCommand": {
Expand Down

0 comments on commit 8cddcdc

Please sign in to comment.