Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 1b47467

Browse files
authored
Added devcontainer postCreateCommand
1 parent b39d23f commit 1b47467

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.devcontainer/devcontainer.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
{
55
"name": "Docker from Docker Compose + Kubernetes & Helm",
66
"dockerFile": "Dockerfile",
7-
//"dockerComposeFile": [
8-
// "docker-compose.yml"]
9-
//,
107

118
//"service": "docker-from-docker",
129
"workspaceFolder": "/workspace",
@@ -50,7 +47,7 @@
5047
"forwardPorts": [],
5148

5249
// Use 'postCreateCommand' to run commands after the container is created.
53-
// "postCreateCommand": "kubectl version",
50+
"postCreateCommand": "wget https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube-linux-amd64 && sudo mv minikube-linux-amd64 /usr/local/bin/minikube && minikube version"
5451

5552
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust.
5653
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],

0 commit comments

Comments
 (0)