diff --git a/docker-env.mk b/docker-env.mk index 37c030c8951..2d39a2d5be8 100644 --- a/docker-env.mk +++ b/docker-env.mk @@ -23,28 +23,28 @@ endif endif ifneq ($(http_proxy),) -DOCKER_BUILD_FLAGS+=--build-arg http_proxy=$(http_proxy) -DOCKER_RUN_FLAGS+=-e http_proxy=$(http_proxy) +DOCKER_BUILD_FLAGS+=--build-arg 'http_proxy=$(http_proxy)' +DOCKER_RUN_FLAGS+=-e 'http_proxy=$(http_proxy)' endif ifneq ($(https_proxy),) -DOCKER_BUILD_FLAGS+=--build-arg https_proxy=$(https_proxy) -DOCKER_RUN_FLAGS+=-e https_proxy=$(https_proxy) +DOCKER_BUILD_FLAGS+=--build-arg 'https_proxy=$(https_proxy)' +DOCKER_RUN_FLAGS+=-e 'https_proxy=$(https_proxy)' endif ifneq ($(HTTP_PROXY),) -DOCKER_BUILD_FLAGS+=--build-arg HTTP_PROXY=$(HTTP_PROXY) -DOCKER_RUN_FLAGS+=-e HTTP_PROXY=$(HTTP_PROXY) +DOCKER_BUILD_FLAGS+=--build-arg 'HTTP_PROXY=$(HTTP_PROXY)' +DOCKER_RUN_FLAGS+=-e 'HTTP_PROXY=$(HTTP_PROXY)' endif ifneq ($(HTTPS_PROXY),) -DOCKER_BUILD_FLAGS+=--build-arg HTTPS_PROXY=$(HTTPS_PROXY) -DOCKER_RUN_FLAGS+=-e HTTPS_PROXY=$(HTTPS_PROXY) +DOCKER_BUILD_FLAGS+=--build-arg 'HTTPS_PROXY=$(HTTPS_PROXY)' +DOCKER_RUN_FLAGS+=-e 'HTTPS_PROXY=$(HTTPS_PROXY)' endif ifneq ($(no_proxy),) -DOCKER_BUILD_FLAGS+=--build-arg no_proxy=$(no_proxy) -DOCKER_RUN_FLAGS+=-e no_proxy=$(no_proxy) +DOCKER_BUILD_FLAGS+=--build-arg 'no_proxy=$(no_proxy)' +DOCKER_RUN_FLAGS+=-e 'no_proxy=$(no_proxy)' endif ifneq ($(NO_PROXY),) -DOCKER_BUILD_FLAGS+=--build-arg NO_PROXY=$(NO_PROXY) -DOCKER_RUN_FLAGS+=-e NO_PROXY=$(NO_PROXY) +DOCKER_BUILD_FLAGS+=--build-arg 'NO_PROXY=$(NO_PROXY)' +DOCKER_RUN_FLAGS+=-e 'NO_PROXY=$(NO_PROXY)' endif DRUN = docker run -i --rm $(DOCKER_RUN_FLAGS) \