mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Makefile: enable BuildKit
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
53688d374e
commit
0e8b02bac4
1 changed files with 5 additions and 5 deletions
|
@ -36,7 +36,7 @@ all-local: build-local check-local clean
|
|||
# builder builds the libnetworkbuild container. All wrapper targets
|
||||
# must depend on this to ensure that the container exists.
|
||||
builder:
|
||||
docker build -t ${build_image} --build-arg=GO_VERSION ${dockerbuildargs}
|
||||
DOCKER_BUILDKIT=1 docker build --progress=plain -t ${build_image} --build-arg=GO_VERSION ${dockerbuildargs}
|
||||
|
||||
build: builder
|
||||
@echo "🐳 $@"
|
||||
|
@ -53,10 +53,10 @@ build-local:
|
|||
build-images:
|
||||
@echo "🐳 $@"
|
||||
cp cmd/diagnostic/daemon.json ./bin
|
||||
docker build -f cmd/diagnostic/Dockerfile.client -t dockereng/network-diagnostic:onlyclient bin/
|
||||
docker build -f cmd/diagnostic/Dockerfile.dind -t dockereng/network-diagnostic:17.12-dind bin/
|
||||
docker build -f cmd/networkdb-test/Dockerfile -t dockereng/e2e-networkdb:master bin/
|
||||
docker build -t dockereng/network-diagnostic:support.sh support/
|
||||
DOCKER_BUILDKIT=1 docker build --progress=plain -f cmd/diagnostic/Dockerfile.client -t dockereng/network-diagnostic:onlyclient bin/
|
||||
DOCKER_BUILDKIT=1 docker build --progress=plain -f cmd/diagnostic/Dockerfile.dind -t dockereng/network-diagnostic:17.12-dind bin/
|
||||
DOCKER_BUILDKIT=1 docker build --progress=plain -f cmd/networkdb-test/Dockerfile -t dockereng/e2e-networkdb:master bin/
|
||||
DOCKER_BUILDKIT=1 docker build --progress=plain -t dockereng/network-diagnostic:support.sh support/
|
||||
|
||||
push-images: build-images
|
||||
@echo "🐳 $@"
|
||||
|
|
Loading…
Reference in a new issue