Use docker to build go binaries

This commit is contained in:
Manuel de Brito Fontes 2018-07-05 23:23:27 -04:00 committed by Manuel Alejandro de Brito Fontes
parent 5827c981af
commit 479a519630
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
14 changed files with 411 additions and 107 deletions

View file

@ -36,11 +36,15 @@ touch $HOME/.kube/config
export KUBECONFIG=$HOME/.kube/config
# workaround to avoid breaking the execution
set +o errexit
set +o pipefail
# --vm-driver=none, use host docker (avoid docker-in-docker)
# --bootstrapper=localkube, works around https://github.com/kubernetes/minikube/issues/2704
sudo -E minikube start \
--bootstrapper=localkube \
--vm-driver=none \
--bootstrapper=localkube \
--kubernetes-version=$KUBERNETES_VERSION \
--extra-config=kubelet.sync-frequency=1s \
--extra-config=apiserver.authorization-mode=RBAC