Created
November 15, 2018 14:05
-
-
Save jasongerard/1a4f985857e4b614124bc59a39d13362 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
GOOS=linux go build -o app.o | |
eval $(minikube docker-env) | |
docker build -t mlockex:latest . | |
kubectl --context=minikube delete pod mlockex | |
kubectl --context=minikube apply -f pod.yaml | |
until kubectl --context=minikube get pod mlockex | grep Completed; do sleep 1; done | |
kubectl --context=minikube logs mlockex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment