-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
122 lines (118 loc) · 3.8 KB
/
devcontainer.json
File metadata and controls
122 lines (118 loc) · 3.8 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
{
"name": "Debian (VS Code - DinD)",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:bookworm",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"moby": true,
"installDockerBuildx": true,
"dockerDashComposeVersion": "v2",
"installDockerComposeSwitch": true,
"disableIp6tables": true,
"version": "latest"
},
"ghcr.io/devcontainers/features/github-cli:1": {
"installDirectlyFromGitHubRelease": true,
"version": "latest"
},
"ghcr.io/devcontainers/features/python:1": {
"installTools": true,
"version": "3.12.13"
},
"ghcr.io/eitsupi/devcontainer-features/jq-likes:2": {
"jqVersion": "latest",
"yqVersion": "latest",
"gojqVersion": "none",
"xqVersion": "latest",
"jaqVersion": "none"
},
"ghcr.io/dhoeric/features/hadolint:1": {},
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {},
"ghcr.io/va-h/devcontainers-features/difftastic:1": {
"version": "latest"
},
"ghcr.io/va-h/devcontainers-features/uv:1": {
"shellautocompletion": true,
"version": "0.11.7"
},
"ghcr.io/devcontainers-extra/features/actions-runner:1": {
"version": "latest",
"dotnetVersion": "latest"
},
"ghcr.io/devcontainers-extra/features/age:1": {
"version": "latest"
},
"ghcr.io/devcontainers-extra/features/apt-packages:1": {
"clean_ppas": true,
"preserve_apt_list": true,
"packages": "curl,ca-certificates,htop"
},
"ghcr.io/devcontainers-extra/features/curl-apt-get:1": {},
"ghcr.io/devcontainers-extra/features/pre-commit:2": {
"version": "latest"
},
"ghcr.io/devcontainers-extra/features/sops:1": {
"version": "latest"
},
"ghcr.io/devcontainers-extra/features/starship:1": {
"version": "latest"
},
"ghcr.io/devcontainers-extra/features/wget-apt-get:1": {},
"ghcr.io/jungaretti/features/vim:1": {},
"ghcr.io/schlich/cst-devcontainer-feature/container-structure-test:1": {
"addAlias": true
},
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {
"version": "latest",
"helm": "latest",
"minikube": "latest"
},
"ghcr.io/devcontainers-extra/features/renovate-cli:2": {
"version": "latest"
}
},
"containerEnv": {
"UV_LINK_MODE": "copy",
"DEVCONTAINER_TYPE": "vscode"
},
// Configure tool-specific properties.
"customizations": {
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"jeff-hykin.better-dockerfile-syntax",
"ms-azuretools.vscode-docker",
"formulahendry.docker-explorer",
"shipitsmarter.sops-edit",
"davidanson.vscode-markdownlint",
"samuelcolvin.jinjahtml",
"tamasfe.even-better-toml",
"ms-python.python",
"ms-python.vscode-pylance",
"ms-python.debugpy",
"ms-python.autopep8",
"ms-python.vscode-python-envs",
"ms-python.pylint",
"mhutchie.git-graph",
"donjayamanne.githistory",
"codezombiech.gitignore",
"github.copilot-chat",
"matangover.mypy",
"charliermarsh.ruff",
"tim-koehler.helm-intellisense",
"vadzimnestsiarenka.helm-template-preview-and-more"
]
}
},
// Load encrypted environment variables automatically (with error tolerance)
"postCreateCommand": {
"setup bashrc": "grep -qF 'source \\${containerWorkspaceFolder}/scripts/load-env.sh' ~/.bashrc || echo 'source \\${containerWorkspaceFolder}/scripts/load-env.sh' >> ~/.bashrc"
},
"postStartCommand": {
"install ggshield": "sudo /usr/local/py-utils/bin/pipx install --global ggshield"
},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "vscode"
}