chore: update devcontainer

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2023-12-01 19:44:02 -05:00
1 parent 2a1e4a4a31
commit 4400029904
1 file changed
+43 -85
+43 -85
View File
@@ -1,87 +1,45 @@
{ {
"name": "Home Ops", "name": "Home Ops",
"image": "mcr.microsoft.com/devcontainers/base:debian", "image": "mcr.microsoft.com/devcontainers/base:debian",
"containerEnv": { "containerEnv": {
"KUBECONFIG": "${containerWorkspaceFolder}/kubeconfig", "KUBECONFIG": "${containerWorkspaceFolder}/kubeconfig",
"SOPS_AGE_KEY_FILE": "${containerWorkspaceFolder}/.age.key" "SOPS_AGE_KEY_FILE": "${containerWorkspaceFolder}/.age.key"
}, },
"postCreateCommand": { "postCreateCommand": {
// Install additional python dependencies for ansible "deps": "task deps"
"deps": "task deps" },
}, "features": {
"features": { "ghcr.io/devcontainers/features/common-utils:2": {
// Upgrade OS packages "configureZshAsDefaultShell": true
"ghcr.io/devcontainers/features/common-utils:2": { },
"version": "latest", "ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {
"installZsh": false, "minikube": "none"
"installOhMyZsh": false },
}, "ghcr.io/devcontainers-contrib/features/age:1": {},
// Install go-task "ghcr.io/devcontainers-contrib/features/cloudflared:1": {},
"ghcr.io/devcontainers-contrib/features/go-task:1": { "ghcr.io/devcontainers-contrib/features/go-task:1": {},
"version": "latest" "ghcr.io/devcontainers-contrib/features/python:1": {},
}, "ghcr.io/devcontainers-contrib/features/sops:1": {},
// Install python and ansible "ghcr.io/audacioustux/devcontainers/cilium:1": {},
// Not using the python feature because it includes vscode extentions and we don't want that. "ghcr.io/dhoeric/features/stern:1": {},
// See https://github.com/devcontainers/features/blob/d53b9d1816bac7a62f9ba5f20723eef428042d1f/src/python/devcontainer-feature.json#L64 "ghcr.io/eitsupi/devcontainer-features/jq-likes:2": {},
// One day disable with https://github.com/devcontainers/features/issues/386 "ghcr.io/jsburckhardt/devcontainer-features/flux:1": {},
"ghcr.io/devcontainers-contrib/features/ansible:2": { "ghcr.io/rio/features/kustomize:1": {}
"version": "latest" },
}, "customizations": {
// Install age "vscode": {
"ghcr.io/devcontainers-contrib/features/age:1": { "settings": {
"version": "latest" "terminal.integrated.profiles.linux": {
}, "bash": {
// Install cilium-cli "path": "/bin/zsh"
"ghcr.io/audacioustux/devcontainers/cilium:1": { }
"version": "latest" },
}, "terminal.integrated.defaultProfile.linux": "zsh"
// Install cloudflared },
"ghcr.io/devcontainers-contrib/features/cloudflared:1": { "extensions": [
"version": "latest" "redhat.ansible",
}, "redhat.vscode-yaml"
// Install flux-cli ]
"ghcr.io/jsburckhardt/devcontainer-features/flux:1": { }
"version": "latest" }
},
// Install kubectl and helm
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {
"version": "latest",
"helm": "latest",
"minikube": "none"
},
// Install kustomize
"ghcr.io/rio/features/kustomize:1": {
"version": "latest"
},
// Install sops
"ghcr.io/devcontainers-contrib/features/sops:1": {
"version": "latest"
},
// Install stern
"ghcr.io/dhoeric/features/stern:1": {
"version": "latest"
},
// Install jq
"ghcr.io/eitsupi/devcontainer-features/jq-likes:2": {
"jqVersion": "latest"
}
// Find more features at https://containers.dev/features
},
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.profiles.linux": {
"bash": {
"path": "/bin/bash"
}
},
"terminal.integrated.defaultProfile.linux": "bash"
},
"extensions": [
// Add any additional extensions you always want installed here
"redhat.ansible",
"redhat.vscode-yaml"
]
}
}
} }