Skip to content

Commit 00aba0a

Browse files
authored
Merge pull request #3 from fairagro/feature/split_off_client
feat: Add initial Dev Container configuration for the Antigravity Doo…
2 parents d49d4d6 + 8bcc600 commit 00aba0a

2 files changed

Lines changed: 126 additions & 13 deletions

File tree

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
3+
{
4+
"name": "Debian (Antigravity - DooD)",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/base:bookworm",
7+
"features": {
8+
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
9+
"ghcr.io/devcontainers/features/git-lfs:1": {
10+
"autoPull": true,
11+
"installDirectlyFromGitHubRelease": true,
12+
"version": "3.7.1"
13+
},
14+
"ghcr.io/devcontainers/features/github-cli:1": {
15+
"installDirectlyFromGitHubRelease": true,
16+
"version": "2.82.1"
17+
},
18+
"ghcr.io/devcontainers/features/python:1": {
19+
"installTools": true,
20+
"version": "3.12.12"
21+
},
22+
"ghcr.io/eitsupi/devcontainer-features/jq-likes:2": {
23+
"jqVersion": "1.8.1",
24+
"yqVersion": "4.48.1",
25+
"gojqVersion": "none",
26+
"xqVersion": "0.4.1",
27+
"jaqVersion": "none"
28+
},
29+
"ghcr.io/dhoeric/features/hadolint:1": {},
30+
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {},
31+
"ghcr.io/lentzi90/features/yamlfmt:0": {
32+
"version": "v0.14.0"
33+
},
34+
"ghcr.io/va-h/devcontainers-features/difftastic:1": {
35+
"version": "0.65.0"
36+
},
37+
"ghcr.io/va-h/devcontainers-features/uv:1": {
38+
"shellautocompletion": true,
39+
"version": "0.9.5"
40+
},
41+
"ghcr.io/devcontainers-extra/features/actions-runner:1": {
42+
"version": "latest",
43+
"dotnetVersion": "latest"
44+
},
45+
"ghcr.io/devcontainers-extra/features/age:1": {
46+
"version": "1.2.1"
47+
},
48+
"ghcr.io/devcontainers-extra/features/apt-packages:1": {
49+
"clean_ppas": true,
50+
"preserve_apt_list": true,
51+
"packages": "curl,ca-certificates"
52+
},
53+
"ghcr.io/devcontainers-extra/features/curl-apt-get:1": {},
54+
"ghcr.io/devcontainers-extra/features/pre-commit:2": {
55+
"version": "4.3.0"
56+
},
57+
"ghcr.io/devcontainers-extra/features/sops:1": {
58+
"version": "3.11.0"
59+
},
60+
"ghcr.io/devcontainers-extra/features/starship:1": {
61+
"version": "1.23.0"
62+
},
63+
"ghcr.io/devcontainers-extra/features/wget-apt-get:1": {},
64+
"ghcr.io/jungaretti/features/vim:1": {},
65+
"ghcr.io/schlich/cst-devcontainer-feature/container-structure-test:1": {
66+
"addAlias": true
67+
},
68+
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {
69+
"version": "1.34.1",
70+
"helm": "3.19.0",
71+
"minikube": "1.37.0"
72+
}
73+
},
74+
75+
"containerEnv": {
76+
"UV_LINK_MODE": "copy"
77+
},
78+
79+
// Configure tool-specific properties.
80+
"customizations": {
81+
"vscode": {
82+
// Add the IDs of extensions you want installed when the container is created.
83+
"extensions": [
84+
"jeff-hykin.better-dockerfile-syntax",
85+
"ms-azuretools.vscode-docker",
86+
"formulahendry.docker-explorer",
87+
"shipitsmarter.sops-edit",
88+
"davidanson.vscode-markdownlint",
89+
"samuelcolvin.jinjahtml",
90+
"tamasfe.even-better-toml",
91+
"ms-python.python",
92+
"ms-python.vscode-pylance",
93+
"ms-python.debugpy",
94+
"ms-python.autopep8",
95+
"ms-python.vscode-python-envs",
96+
"ms-python.pylint",
97+
"mhutchie.git-graph",
98+
"donjayamanne.githistory",
99+
"codezombiech.gitignore",
100+
"github.copilot",
101+
"github.copilot-chat",
102+
"matangover.mypy",
103+
"charliermarsh.ruff",
104+
"tim-koehler.helm-intellisense",
105+
"vadzimnestsiarenka.helm-template-preview-and-more"
106+
]
107+
}
108+
},
109+
110+
// Load encrypted environment variables automatically (with error tolerance)
111+
"postCreateCommand": {
112+
"setup bashrc": "grep -qF 'source \\${containerWorkspaceFolder}/scripts/load-env.sh' ~/.bashrc || echo 'source \\${containerWorkspaceFolder}/scripts/load-env.sh' >> ~/.bashrc"
113+
},
114+
"postStartCommand": {
115+
"install ggshield": "sudo /usr/local/py-utils/bin/pipx install --global ggshield"
116+
},
117+
118+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
119+
"remoteUser": "vscode"
120+
}
Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
22
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
33
{
4-
"name": "Debian",
4+
"name": "Debian (VS Code - DinD)",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
66
"image": "mcr.microsoft.com/devcontainers/base:bookworm",
77
"features": {
@@ -54,8 +54,7 @@
5454
"ghcr.io/devcontainers-extra/features/apt-packages:1": {
5555
"clean_ppas": true,
5656
"preserve_apt_list": true,
57-
"packages": "curl,ca-certificates",
58-
"ppas": "ppa:deadsnakes/ppa"
57+
"packages": "curl,ca-certificates"
5958
},
6059
"ghcr.io/devcontainers-extra/features/curl-apt-get:1": {},
6160
"ghcr.io/devcontainers-extra/features/pre-commit:2": {
@@ -116,16 +115,10 @@
116115

117116
// Load encrypted environment variables automatically (with error tolerance)
118117
"postCreateCommand": {
119-
"install ggshield": [
120-
"bash",
121-
"-c",
122-
"sudo /usr/local/py-utils/bin/pipx install --global ggshield"
123-
],
124-
"setup bashrc": [
125-
"bash",
126-
"-c",
127-
"grep -qF 'source /workspaces/m4.2_advanced_middleware_api/scripts/load-env.sh' /home/vscode/.bashrc || echo 'source /workspaces/m4.2_advanced_middleware_api/scripts/load-env.sh' >> /home/vscode/.bashrc"
128-
]
118+
"setup bashrc": "grep -qF 'source \\${containerWorkspaceFolder}/scripts/load-env.siner h' ~/.bashrc || echo 'source \\${containerWorkspaceFolder}/scripts/load-env.sh' >> ~/.bashrc"
119+
},
120+
"postStartCommand": {
121+
"install ggshield": "sudo /usr/local/py-utils/bin/pipx install --global ggshield"
129122
},
130123

131124
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.

0 commit comments

Comments
 (0)