44 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			JSON
		
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			JSON
		
	
	
	
| // For format details, see https://aka.ms/devcontainer.json. For config options, see the
 | |
| // README at: https://github.com/devcontainers/templates/tree/main/src/kubernetes-helm-minikube
 | |
| {
 | |
| 	"name": "Kubernetes - Minikube-in-Docker",
 | |
| 	// 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": {
 | |
| 			"enableNonRootDocker": "true",
 | |
| 			"moby": "true"
 | |
| 		},
 | |
| 		"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {
 | |
| 			"version": "latest",
 | |
| 			"helm": "latest",
 | |
| 			"minikube": "latest"
 | |
| 		},
 | |
| 		"ghcr.io/devcontainers/features/go:1": {
 | |
| 			"version": "1.15",
 | |
| 			"golangciLintVersion": "1.26.0"
 | |
| 		},
 | |
| 		"ghcr.io/mpriscella/features/kind:1": {
 | |
| 			"version": "latest"
 | |
| 		},
 | |
| 		"ghcr.io/edouard-lopez/devcontainer-features/bats:0": {
 | |
| 			"version": "latest"
 | |
| 		}
 | |
| 	}
 | |
| 	// Use 'forwardPorts' to make a list of ports inside the container available locally.
 | |
| 	// "forwardPorts": [],
 | |
| 
 | |
| 	// Use 'postCreateCommand' to run commands after the container is created.
 | |
| 	// "postCreateCommand": "kubectl version",
 | |
| 
 | |
| 	// Use 'postStartCommand' to run commands after the container is created like starting minikube.
 | |
| 	// "postStartCommand": "nohup bash -c 'minikube start &' > minikube.log 2>&1",
 | |
| 
 | |
| 	// Configure tool-specific properties.
 | |
| 	// "customizations": {},
 | |
| 
 | |
| 	// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
 | |
| 	// "remoteUser": "root"
 | |
| }
 |