Skip to content

Commit

Permalink
Merge pull request #3159 from kirs/fix-dev-env.sh
Browse files Browse the repository at this point in the history
Pass --shell to minikube docker-env
  • Loading branch information
k8s-ci-robot authored Sep 29, 2018
2 parents d1750ed + b2407bc commit 0f56609
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 0f56609

Please sign in to comment.