Removed eval $(minikube docker-env) from build-image
It's not the scripts concern determining if the Minikube docker env
should be used or not. If the user wants to use it, then call:
(eval $(minikube docker-env); make build-image)
@@ -9,15 +9,6 @@ if [ -z ${DOCKER_IMAGE_TAG+x} ]; then
export DOCKER_IMAGE_TAG
fi
-set +e
-
-if type -a minikube >/dev/null 2>/dev/null; then
- if ! dockerenv=$(minikube docker-env); then
- echo "Error: Could not retrieve docker settings from minikube."
- exit 1
- fi
- eval "${dockerenv}"
-fi
set -e
