diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2022-04-21 19:28:55 -0500 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2022-04-21 19:28:55 -0500 |
commit | 3499b1c0273d1386791b509d3192ed05f8f6a7c2 (patch) | |
tree | 29b1b7ffc63d0334535d73949b4565724acb26f5 /.devcontainer | |
parent | Upgrade 'node' to '18.0.0' to be inline with windows builds. (diff) | |
download | ferdium-recipes-3499b1c0273d1386791b509d3192ed05f8f6a7c2.tar.gz ferdium-recipes-3499b1c0273d1386791b509d3192ed05f8f6a7c2.tar.zst ferdium-recipes-3499b1c0273d1386791b509d3192ed05f8f6a7c2.zip |
Use short form of command
Diffstat (limited to '.devcontainer')
-rw-r--r-- | .devcontainer/Dockerfile | 6 | ||||
-rw-r--r-- | .devcontainer/devcontainer.json | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 6b5afd0..2ae6de3 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile | |||
@@ -1,7 +1,7 @@ | |||
1 | # See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.174.0/containers/javascript-node/.devcontainer/base.Dockerfile | 1 | # See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.174.0/containers/javascript-node/.devcontainer/base.Dockerfile |
2 | 2 | ||
3 | # [Choice] Node.js version: 14, 12, 10 | 3 | # [Choice] Node.js version: 18 |
4 | ARG VARIANT="14-buster" | 4 | ARG VARIANT="18-buster" |
5 | FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT} | 5 | FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT} |
6 | 6 | ||
7 | # [Optional] Uncomment this section to install additional OS packages. | 7 | # [Optional] Uncomment this section to install additional OS packages. |
@@ -13,4 +13,4 @@ FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT} | |||
13 | # RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}" | 13 | # RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}" |
14 | 14 | ||
15 | # [Optional] Uncomment if you want to install more global node modules | 15 | # [Optional] Uncomment if you want to install more global node modules |
16 | # RUN su node -c "pnpm install -g <your-package-list-here>" | 16 | # RUN su node -c "pnpm i -g <your-package-list-here>" |
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 6c5d932..9354444 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json | |||
@@ -20,7 +20,7 @@ | |||
20 | // "forwardPorts": [], | 20 | // "forwardPorts": [], |
21 | 21 | ||
22 | // Use 'postCreateCommand' to run commands after the container is created. | 22 | // Use 'postCreateCommand' to run commands after the container is created. |
23 | // "postCreateCommand": "pnpm install", | 23 | // "postCreateCommand": "pnpm i", |
24 | 24 | ||
25 | // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | 25 | // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
26 | "remoteUser": "node" | 26 | "remoteUser": "node" |