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> Upstream-commit: 58505ffdeeb453035091ebe59d3de18193b18d1b Component: engine
This commit is contained in:
@ -106,7 +106,7 @@ install: ## install the linux binaries
|
||||
KEEPBUNDLE=1 hack/make.sh install-binary
|
||||
|
||||
manpages: ## Generate man pages from go source and markdown
|
||||
docker build -t docker-manpage-dev -f "man/$(DOCKERFILE)" ./man
|
||||
docker build ${DOCKER_BUILD_ARGS} -t docker-manpage-dev -f "man/$(DOCKERFILE)" ./man
|
||||
docker run --rm \
|
||||
-v $(PWD):/go/src/github.com/docker/docker/ \
|
||||
docker-manpage-dev
|
||||
|
||||
Reference in New Issue
Block a user