Skip to content

Commit

Permalink
Pass --shell to minikube docker-env
Browse files Browse the repository at this point in the history
  • Loading branch information
kirs committed Sep 29, 2018
1 parent 89de34d commit b2407bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/dev-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ if [ -z "${SKIP_MINIKUBE_START}" ]; then
--extra-config=kubelet.sync-frequency=1s \
--extra-config=apiserver.authorization-mode=RBAC

eval $(minikube docker-env)
eval $(minikube docker-env --shell bash)
fi

echo "[dev-env] building container"
make build container

docker save "${DEV_IMAGE}" | (eval $(minikube docker-env) && docker load) || true
docker save "${DEV_IMAGE}" | (eval $(minikube docker-env --shell bash) && docker load) || true

echo "[dev-env] installing kubectl"
kubectl version || brew install kubectl
Expand Down

0 comments on commit b2407bc

Please sign in to comment.