🐳 basic devcontainer config

This commit is contained in:
Philipp Dormann 2021-02-20 18:58:10 +01:00
parent 4ca10e1db4
commit 5bfeac693e
2 changed files with 26 additions and 0 deletions

5
.devcontainer/Dockerfile Normal file
View File

@ -0,0 +1,5 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.158.0/containers/javascript-node/.devcontainer/base.Dockerfile
# [Choice] Node.js version: 14, 12, 10
ARG VARIANT="14-buster"
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}
RUN su node -c "npm install -g rimraf"

View File

@ -0,0 +1,21 @@
{
"name": "Node.js",
"build": {
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "14"
}
},
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
"extensions": [
"2gua.rainbow-brackets",
"christian-kohler.npm-intellisense",
"remimarsal.prettier-now",
"lokalise.i18n-ally",
"bradlc.vscode-tailwindcss",
"johnsoncodehk.volar"
],
"remoteUser": "node"
}