From 3499b1c0273d1386791b509d3192ed05f8f6a7c2 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Thu, 21 Apr 2022 19:28:55 -0500 Subject: Use short form of command --- .devcontainer/Dockerfile | 6 +++--- .devcontainer/devcontainer.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to '.devcontainer') diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 6b5afd0..2ae6de3 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.174.0/containers/javascript-node/.devcontainer/base.Dockerfile -# [Choice] Node.js version: 14, 12, 10 -ARG VARIANT="14-buster" +# [Choice] Node.js version: 18 +ARG VARIANT="18-buster" FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT} # [Optional] Uncomment this section to install additional OS packages. @@ -13,4 +13,4 @@ FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT} # RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}" # [Optional] Uncomment if you want to install more global node modules -# RUN su node -c "pnpm install -g " +# RUN su node -c "pnpm i -g " 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 @@ // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. - // "postCreateCommand": "pnpm install", + // "postCreateCommand": "pnpm i", // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "node" -- cgit v1.2.3-54-g00ecf