From 8cddcdc9a9c9a3bd2043fced2991daa340d78e63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Luis=20Cano=20Rodr=C3=ADguez?= Date: Thu, 30 Jan 2025 14:30:27 +0000 Subject: [PATCH] WIP: Add NODE_VERSION (does not work) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Juan Luis Cano Rodríguez --- .devcontainer/devcontainer.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index db9f988a9..863230e44 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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": {