|
| 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/kubernetes-helm-minikube |
| 3 | +{ |
| 4 | + "name": "Kubernetes - Minikube-in-Docker", |
| 5 | + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile |
| 6 | + "image": "mcr.microsoft.com/devcontainers/base:bullseye", |
| 7 | + |
| 8 | + "features": { |
| 9 | + "ghcr.io/devcontainers/features/docker-in-docker:2": {}, |
| 10 | + "ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {}, |
| 11 | + "ghcr.io/devcontainers/features/node:1": {}, |
| 12 | + "ghcr.io/devcontainers-contrib/features/kind:1": {}, |
| 13 | + "ghcr.io/rio/features/kustomize:1": {} |
| 14 | + }, |
| 15 | + |
| 16 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 17 | + // "forwardPorts": [], |
| 18 | + |
| 19 | + // Use 'postCreateCommand' to run commands after the container is created. |
| 20 | + // "postCreateCommand": "kubectl version", |
| 21 | + |
| 22 | + // Use 'postStartCommand' to run commands after the container is created like starting minikube. |
| 23 | + // "postStartCommand": "nohup bash -c 'minikube start &' > minikube.log 2>&1", |
| 24 | + "postStartCommand": "bash scripts/install-dev-tools.sh" |
| 25 | + |
| 26 | + // Configure tool-specific properties. |
| 27 | + // "customizations": {}, |
| 28 | + |
| 29 | + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. |
| 30 | + // "remoteUser": "root" |
| 31 | +} |
0 commit comments