/
devcontainer.json
57 lines (52 loc) · 2.15 KB
/
devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// 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.245.2/containers/docker-existing-dockerfile
{
"name": "mds-in-a-box",
// Sets the run context to one level up instead of the .devcontainer folder.
"context": "..",
"build": {
"args": {
"VARIANT": "3.11"
}
},
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerFile": "Dockerfile.dev-container",
"settings": {
"python.pythonPath": "/usr/local/bin/python",
"python.languageServer": "Pylance",
"files.associations": {
"*.sql": "jinja-sql"
}
// any other settings go here
},
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance",
"redhat.vscode-yaml",
"ms-vscode.makefile-tools",
"EditorConfig.EditorConfig",
"samuelcolvin.jinjahtml",
"github.vscode-pull-request-github",
"eamodio.gitlens",
"visualstudioexptteam.vscodeintellicode",
"bastienboutonnet.vscode-dbt",
"vivaxy.vscode-conventional-commits",
"mechatroner.rainbow-csv"
],
"features": {
//see https://github.com/devcontainers/features/tree/main/src/docker-in-docker for details on below
"ghcr.io/devcontainers/features/docker-in-docker:1":{},
//see https://docs.github.com/en/codespaces/developing-in-codespaces/using-github-codespaces-with-github-cli#ssh-into-a-codespace for details
// this is to enable tools eg harlequin to run properly
"ghcr.io/devcontainers/features/sshd:1": {
"version": "latest"
}
},
// 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.
"postCreateCommand": "make build"
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
// "remoteUser": "root"
}