mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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>
This commit is contained in:
parent
a756c1ac65
commit
58505ffdee
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -106,7 +106,7 @@ install: ## install the linux binaries
|
||||||
KEEPBUNDLE=1 hack/make.sh install-binary
|
KEEPBUNDLE=1 hack/make.sh install-binary
|
||||||
|
|
||||||
manpages: ## Generate man pages from go source and markdown
|
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 \
|
docker run --rm \
|
||||||
-v $(PWD):/go/src/github.com/docker/docker/ \
|
-v $(PWD):/go/src/github.com/docker/docker/ \
|
||||||
docker-manpage-dev
|
docker-manpage-dev
|
||||||
|
|
Loading…
Reference in a new issue