From b681eecde4ff6fe67a3b2495d3d972faa47be289 Mon Sep 17 00:00:00 2001 From: Shiqi <101171950+SQ77@users.noreply.github.com> Date: Wed, 26 Aug 2026 14:20:00 +0800 Subject: [PATCH 1/2] Update DOCKERFILE --- .devcontainer/DOCKERFILE | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.devcontainer/DOCKERFILE b/.devcontainer/DOCKERFILE index fb4f640..be508e6 100644 --- a/.devcontainer/DOCKERFILE +++ b/.devcontainer/DOCKERFILE @@ -1,16 +1,17 @@ # syntax=docker/dockerfile:1 -ARG VARIANT="18" -FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT} +ARG VARIANT="22" +FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:1-${VARIANT}-bookworm # Install cf CLI - USER node RUN wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo apt-key add - RUN echo "deb https://packages.cloudfoundry.org/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list RUN sudo apt-get update -RUN sudo apt-get install cf8-cli +RUN sudo apt-get install -y cf8-cli -# Install hana-cli gloablly +# Install hana-cli globally +# HOME must be set explicitly — hana-cli's postinstall script reads it USER node -RUN npm install -g hana-cli \ No newline at end of file +ENV HOME=/home/node +RUN npm install -g hana-cli From acd777bc7beffd3a408929f820ceaa64a00cbf28 Mon Sep 17 00:00:00 2001 From: Shiqi <101171950+SQ77@users.noreply.github.com> Date: Wed, 26 Aug 2026 14:30:49 +0800 Subject: [PATCH 2/2] Bump node version in devcontainer.json --- .devcontainer/devcontainer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 69a42d0..7e2ef0c 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,7 +3,7 @@ "build": { "dockerfile": "Dockerfile", "args": { - "VARIANT": "20" + "VARIANT": "22" } }, "customizations": { @@ -29,4 +29,4 @@ 5005 ], "remoteUser": "node" -} \ No newline at end of file +}