Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .devcontainer/DOCKERFILE
Original file line number Diff line number Diff line change
@@ -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
ENV HOME=/home/node
RUN npm install -g hana-cli
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"build": {
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "20"
"VARIANT": "22"
}
},
"customizations": {
Expand All @@ -29,4 +29,4 @@
5005
],
"remoteUser": "node"
}
}