diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 9ad528d5228..cef1d1183e7 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,7 +1,7 @@ -# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.154.0/containers/javascript-node/.devcontainer/base.Dockerfile +# See here for image contents: https://github.com/microsoft/vscode-dev-containers/blob/v0.245.2/containers/javascript-node/.devcontainer/base.Dockerfile -# [Choice] Node.js version: 14, 12, 10 -ARG VARIANT="14-buster" +# [Choice] Node.js version: 18, 16, 14 +ARG VARIANT="18-buster" FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT} RUN sudo -u node npm install -g hereby diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index fc67bdcb482..2dc491d71a3 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,20 +3,24 @@ "build": { "dockerfile": "Dockerfile", "args": { - "VARIANT": "14" + "VARIANT": "18" } }, - "settings": { - "terminal.integrated.defaultProfile.linux": "bash", - "terminal.integrated.profiles.linux": { - "bash": { - "path": "/bin/bash", - "icon": "terminal-bash", + "customizations": { + "vscode": { + "settings": { + "terminal.integrated.defaultProfile.linux": "bash", + "terminal.integrated.profiles.linux": { + "bash": { + "path": "/bin/bash", + "icon": "terminal-bash" + } + } }, - }, + "extensions": [ + "dbaeumer.vscode-eslint" + ] + } }, - "extensions": [ - "dbaeumer.vscode-eslint" - ], "remoteUser": "node" -} +} \ No newline at end of file