Ensure use of BuildKit

This commit is contained in:
BtbN 2021-04-06 04:38:26 +02:00
parent 487c68037b
commit d98ab0239e

View file

@ -3,6 +3,8 @@ set -xe
cd "$(dirname "$0")" cd "$(dirname "$0")"
source util/vars.sh source util/vars.sh
export DOCKER_BUILDKIT=1
docker build --tag "$BASE_IMAGE" images/base docker build --tag "$BASE_IMAGE" images/base
docker build --build-arg GH_REPO="$REPO" --tag "$TARGET_IMAGE" "images/base-${TARGET}" docker build --build-arg GH_REPO="$REPO" --tag "$TARGET_IMAGE" "images/base-${TARGET}"