From babac0e0a5ab8a6f4eac1f392872908f1b69312f Mon Sep 17 00:00:00 2001 From: Christian Sutter Date: Thu, 14 May 2026 15:18:23 +0000 Subject: [PATCH] Add an `image` to devcontainer config The included devcontainer configuration doesn't actually specify a container image to use, so does not work (Codespaces may potentially implicitly add this behind the scenes?) This adds an appropriate devcontainer base image with Node 22 from the default Microsoft images. --- .devcontainer/devcontainer-lock.json | 3 +++ .devcontainer/devcontainer.json | 1 + 2 files changed, 4 insertions(+) create mode 100644 .devcontainer/devcontainer-lock.json diff --git a/.devcontainer/devcontainer-lock.json b/.devcontainer/devcontainer-lock.json new file mode 100644 index 000000000..219acb6be --- /dev/null +++ b/.devcontainer/devcontainer-lock.json @@ -0,0 +1,3 @@ +{ + "features": {} +} diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a0bae0215..ea08fb864 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,6 @@ { "name": "NHS Digital prevention services design history", + "image": "mcr.microsoft.com/devcontainers/javascript-node:22", "portsAttributes": { "8080": { "label": "Preview",