mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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 <h.huangqiang@huawei.com>
This commit is contained in:
parent
3f1b16e236
commit
d104ddb564
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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
|
||||
|
|
Loading…
Reference in a new issue