Browse code

Use DOCKER_BUILD_ARGS on manpages make target

This make it more consistent with the other image builds and allow to
build manpages behind a proxy for example.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Vincent Demeester authored on 2016/12/02 22:20:30
Showing 1 changed files
... ...
@@ -106,7 +106,7 @@ install: ## install the linux binaries
106 106
 	KEEPBUNDLE=1 hack/make.sh install-binary
107 107
 
108 108
 manpages: ## Generate man pages from go source and markdown
109
-	docker build -t docker-manpage-dev -f "man/$(DOCKERFILE)" ./man
109
+	docker build ${DOCKER_BUILD_ARGS} -t docker-manpage-dev -f "man/$(DOCKERFILE)" ./man
110 110
 	docker run --rm \
111 111
 		-v $(PWD):/go/src/github.com/docker/docker/ \
112 112
 		docker-manpage-dev