From b792f5e1ed6918b6a4707409cb42a3dbf5152166 Mon Sep 17 00:00:00 2001 From: Qiang Huang Date: Tue, 12 Jan 2016 15:15:17 +0800 Subject: [PATCH] Add DOCKER_BUILD_ARGS support for make build We always need proxy for build, so we always use "docker build" command instead of "make build", but now for some reasons, we need macro defined in Makefile, so it would be helpful if we can use "make build" without touching Dockerfile. Signed-off-by: Qiang Huang Upstream-commit: d104ddb564b636631c82955e8a6749305e7afee8 Component: engine --- components/engine/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/Makefile b/components/engine/Makefile index 7a6601599d..0d779bcaf1 100644 --- a/components/engine/Makefile +++ b/components/engine/Makefile @@ -73,7 +73,7 @@ binary: build $(DOCKER_RUN_DOCKER) hack/make.sh binary build: bundles - docker build -t "$(DOCKER_IMAGE)" -f "$(DOCKERFILE)" . + docker build ${DOCKER_BUILD_ARGS} -t "$(DOCKER_IMAGE)" -f "$(DOCKERFILE)" . bundles: mkdir bundles