Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 120 additions & 0 deletions .devcontainer/antigravity/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
// 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 (Antigravity - DooD)",
// 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-outside-of-docker:1": {},
"ghcr.io/devcontainers/features/git-lfs:1": {
"autoPull": true,
"installDirectlyFromGitHubRelease": true,
"version": "3.7.1"
},
"ghcr.io/devcontainers/features/github-cli:1": {
"installDirectlyFromGitHubRelease": true,
"version": "2.82.1"
},
"ghcr.io/devcontainers/features/python:1": {
"installTools": true,
"version": "3.12.12"
},
"ghcr.io/eitsupi/devcontainer-features/jq-likes:2": {
"jqVersion": "1.8.1",
"yqVersion": "4.48.1",
"gojqVersion": "none",
"xqVersion": "0.4.1",
"jaqVersion": "none"
},
"ghcr.io/dhoeric/features/hadolint:1": {},
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {},
"ghcr.io/lentzi90/features/yamlfmt:0": {
"version": "v0.14.0"
},
"ghcr.io/va-h/devcontainers-features/difftastic:1": {
"version": "0.65.0"
},
"ghcr.io/va-h/devcontainers-features/uv:1": {
"shellautocompletion": true,
"version": "0.9.5"
},
"ghcr.io/devcontainers-extra/features/actions-runner:1": {
"version": "latest",
"dotnetVersion": "latest"
},
"ghcr.io/devcontainers-extra/features/age:1": {
"version": "1.2.1"
},
"ghcr.io/devcontainers-extra/features/apt-packages:1": {
"clean_ppas": true,
"preserve_apt_list": true,
"packages": "curl,ca-certificates"
},
Comment thread
Zalfsten marked this conversation as resolved.
"ghcr.io/devcontainers-extra/features/curl-apt-get:1": {},
"ghcr.io/devcontainers-extra/features/pre-commit:2": {
"version": "4.3.0"
},
"ghcr.io/devcontainers-extra/features/sops:1": {
"version": "3.11.0"
},
"ghcr.io/devcontainers-extra/features/starship:1": {
"version": "1.23.0"
},
"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": "1.34.1",
"helm": "3.19.0",
"minikube": "1.37.0"
}
Comment on lines +7 to +72

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

Several of the specified tool versions in the features section are invalid or do not exist, which will likely cause the dev container build to fail. It's recommended to use valid, existing versions for these tools. Using latest is also discouraged for reproducibility.

Here are some of the identified invalid versions:

  • git-lfs: 3.7.1 (latest is 3.5.1)
  • github-cli: 2.82.1 (latest is 2.52.0)
  • python: 3.12.12 (latest stable is 3.12.3)
  • jq: 1.8.1 (latest is 1.7.1)
  • yq: 4.48.1 (latest is 4.44.2)
  • difftastic: 0.65.0 (latest is 0.59.0)
  • uv: 0.9.5 (latest is 0.2.19)
  • age: 1.2.1 (latest stable is 1.1.1)
  • pre-commit: 4.3.0 (latest is 3.7.1)
  • sops: 3.11.0 (latest is 3.8.1)
  • starship: 1.23.0 (latest is 1.19.0)
  • kubectl: 1.34.1 (latest is 1.30.1)
  • helm: 3.19.0 (latest is 3.15.2)
  • minikube: 1.37.0 (latest is 1.33.1)

For actions-runner, using version: "latest" can lead to non-reproducible builds. Please pin it to a specific version.

},

"containerEnv": {
"UV_LINK_MODE": "copy"
},

// 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",
"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"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// 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",
"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": {
Expand Down Expand Up @@ -54,8 +54,7 @@
"ghcr.io/devcontainers-extra/features/apt-packages:1": {
"clean_ppas": true,
"preserve_apt_list": true,
"packages": "curl,ca-certificates",
"ppas": "ppa:deadsnakes/ppa"
"packages": "curl,ca-certificates"
},
"ghcr.io/devcontainers-extra/features/curl-apt-get:1": {},
"ghcr.io/devcontainers-extra/features/pre-commit:2": {
Expand Down Expand Up @@ -116,16 +115,10 @@

// Load encrypted environment variables automatically (with error tolerance)
"postCreateCommand": {
"install ggshield": [
"bash",
"-c",
"sudo /usr/local/py-utils/bin/pipx install --global ggshield"
],
"setup bashrc": [
"bash",
"-c",
"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"
]
"setup bashrc": "grep -qF 'source \\${containerWorkspaceFolder}/scripts/load-env.siner h' ~/.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.
Expand Down