Use buildkit in make targets

This commit is contained in:
Jaysen 2019-10-16 23:02:05 -06:00
commit 90771e3d3c

View file

@ -13,10 +13,10 @@ VERSION ?= test
default: .DEFAULT
alpine:
docker build --pull --target=alpine -t laravel-base:${VERSION}-alpine .
BUILDKIT=1 docker build --pull --target=alpine -t laravel-base:${VERSION}-alpine .
stretch:
docker build --pull --target=stretch -t laravel-base:${VERSION}-stretch .
BUILDKIT=1 docker build --pull --target=stretch -t laravel-base:${VERSION}-stretch .
all: alpine stretch