Skip to content

Commit

Permalink
Added test environment
Browse files Browse the repository at this point in the history
  • Loading branch information
jemaf committed Feb 14, 2022
1 parent 2a8dcf2 commit b60396b
Show file tree
Hide file tree
Showing 5 changed files with 6,969 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM node:16-alpine

# Git setup
ENV GIT_DISCOVERY_ACROSS_FILESYSTEM=1
RUN apk update && \
apk add git
34 changes: 34 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.217.4/containers/alpine
{
"name": "E01-HTML",
"build": {
"dockerfile": "Dockerfile",
"args": {
"--name": "DAW-E01-HTML"
}
},

"remoteEnv": {
"FILES_PATH": "${containerWorkspaceFolder}"
},

// Set *default* container specific settings.json values on container create.
"settings": {},

// Add the IDs of extensions you want installed when the container is created.
// Note that some extensions may not work in Alpine Linux. See https://aka.ms/vscode-remote/linux.
"extensions": [],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "uname -a",

// Replace when using a ptrace-based debugger like C++, Go, and Rust
// "runArgs": [ "--init", "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],

// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node"
}
Loading

0 comments on commit b60396b

Please sign in to comment.