Merge pull request #29069 from vdemeester/29031-manpages-buildarg

Use DOCKER_BUILD_ARGS on manpages make target
This commit is contained in:
Brian Goff
2016-12-02 12:30:36 -05:00
committed by GitHub

View File

@@ -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