From 81b4aae66515b6eec2ac98fda50b1a59bffd94e3 Mon Sep 17 00:00:00 2001 From: Nathanaël Houn Date: Fri, 22 Apr 2022 11:51:48 +0200 Subject: Added build scripts for linux, macos and windows to help new contributors get setup quickly (#21) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Vijay A Co-authored-by: André Oliveira --- .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 048cebe2d..1fe3880c8 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 "npm install -g " +# RUN su node -c "npm i -g " diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 85a9c5a3b..54d7c459b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -24,7 +24,7 @@ // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. - // "postCreateCommand": "npm install", + // "postCreateCommand": "npm i", // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "node" -- cgit v1.2.3-70-g09d2