diff options
author | Nathanaël Houn <contact@nathanaelhoun.fr> | 2022-04-22 11:51:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-22 09:51:48 +0000 |
commit | 81b4aae66515b6eec2ac98fda50b1a59bffd94e3 (patch) | |
tree | e61886514667101ff8169aa09daa375c9853eb35 /.devcontainer | |
parent | Fix build for snapcraft: command not found (diff) | |
download | ferdium-app-81b4aae66515b6eec2ac98fda50b1a59bffd94e3.tar.gz ferdium-app-81b4aae66515b6eec2ac98fda50b1a59bffd94e3.tar.zst ferdium-app-81b4aae66515b6eec2ac98fda50b1a59bffd94e3.zip |
Added build scripts for linux, macos and windows to help new contributors get setup quickly (#21)
Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Co-authored-by: André Oliveira <oliveira.andrerodrigues95@gmail.com>
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 048cebe2d..1fe3880c8 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 "npm install -g <your-package-list-here>" | 16 | # RUN su node -c "npm i -g <your-package-list-here>" |
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 @@ | |||
24 | // "forwardPorts": [], | 24 | // "forwardPorts": [], |
25 | 25 | ||
26 | // Use 'postCreateCommand' to run commands after the container is created. | 26 | // Use 'postCreateCommand' to run commands after the container is created. |
27 | // "postCreateCommand": "npm install", | 27 | // "postCreateCommand": "npm i", |
28 | 28 | ||
29 | // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | 29 | // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
30 | "remoteUser": "node" | 30 | "remoteUser": "node" |