diff options
Diffstat (limited to '.devcontainer')
-rw-r--r-- | .devcontainer/Dockerfile | 21 | ||||
-rw-r--r-- | .devcontainer/devcontainer.json | 25 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..e1af327 --- /dev/null +++ b/.devcontainer/Dockerfile | |||
@@ -0,0 +1,21 @@ | |||
1 | #------------------------------------------------------------------------------------------------------------- | ||
2 | # Copyright (c) Microsoft Corporation. All rights reserved. | ||
3 | # Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. | ||
4 | #------------------------------------------------------------------------------------------------------------- | ||
5 | |||
6 | # To fully customize the contents of this image, use the following Dockerfile instead: | ||
7 | # https://github.com/microsoft/vscode-dev-containers/tree/v0.117.1/containers/javascript-node-12/.devcontainer/Dockerfile | ||
8 | FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-12 | ||
9 | |||
10 | # ** [Optional] Uncomment this section to install additional packages. ** | ||
11 | # | ||
12 | # ENV DEBIAN_FRONTEND=noninteractive | ||
13 | # RUN apt-get update \ | ||
14 | # && apt-get -y install --no-install-recommends <your-package-list-here> \ | ||
15 | # # | ||
16 | # # Clean up | ||
17 | # && apt-get autoremove -y \ | ||
18 | # && apt-get clean -y \ | ||
19 | # && rm -rf /var/lib/apt/lists/* | ||
20 | # ENV DEBIAN_FRONTEND=dialog | ||
21 | |||
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..1c169bf --- /dev/null +++ b/.devcontainer/devcontainer.json | |||
@@ -0,0 +1,25 @@ | |||
1 | // For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at: | ||
2 | // https://github.com/microsoft/vscode-dev-containers/tree/v0.117.1/containers/javascript-node-12 | ||
3 | { | ||
4 | "name": "Node.js 12", | ||
5 | "dockerFile": "Dockerfile", | ||
6 | |||
7 | // Set *default* container specific settings.json values on container create. | ||
8 | "settings": { | ||
9 | "terminal.integrated.shell.linux": "/bin/bash" | ||
10 | }, | ||
11 | |||
12 | // Add the IDs of extensions you want installed when the container is created. | ||
13 | "extensions": [ | ||
14 | "dbaeumer.vscode-eslint" | ||
15 | ], | ||
16 | |||
17 | // Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
18 | // "forwardPorts": [], | ||
19 | |||
20 | // Use 'postCreateCommand' to run commands after the container is created. | ||
21 | // "postCreateCommand": "npm install" | ||
22 | |||
23 | // Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root. | ||
24 | // "remoteUser": "node" | ||
25 | } | ||