2020-06-19 10:10:28 -04:00
|
|
|
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
|
|
|
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.123.0/containers/docker-existing-dockerfile
|
|
|
|
{
|
|
|
|
"name": "SUPER-LINTER",
|
|
|
|
|
|
|
|
// Sets the run context to one level up instead of the .devcontainer folder.
|
|
|
|
"context": "..",
|
|
|
|
|
|
|
|
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
|
2020-06-25 11:25:56 -04:00
|
|
|
"dockerFile": "..//Dockerfile",
|
2020-06-19 10:10:28 -04:00
|
|
|
|
|
|
|
// Set *default* container specific settings.json values on container create.
|
2020-06-25 11:25:56 -04:00
|
|
|
"settings": {
|
2020-06-19 15:03:30 -04:00
|
|
|
"terminal.integrated.shell.linux": "/bin/bash"
|
2020-06-19 10:10:28 -04:00
|
|
|
},
|
|
|
|
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
2020-06-19 11:09:52 -04:00
|
|
|
"extensions": [
|
2020-06-19 13:48:17 -04:00
|
|
|
"github.vscode-pull-request-github",
|
2020-06-19 11:09:52 -04:00
|
|
|
"rogalmic.bash-debug"
|
2020-06-19 12:53:52 -04:00
|
|
|
],
|
2020-06-19 10:10:28 -04:00
|
|
|
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
|
|
// "forwardPorts": [],
|
|
|
|
|
|
|
|
// Uncomment the next line to run commands after the container is created - for example installing curl.
|
2020-06-19 13:32:09 -04:00
|
|
|
//"postCreateCommand": "ln -s /workspaces/super-linter/.automation/test /tmp/lint",
|
2020-06-19 10:10:28 -04:00
|
|
|
|
|
|
|
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
|
|
|
|
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
|
|
|
|
|
|
|
|
// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
|
|
|
|
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],
|
|
|
|
|
|
|
|
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
|
|
|
|
// "remoteUser": "vscode"
|
|
|
|
}
|