Docker: Build images with BuildKit

This commit is contained in:
Michael Mayer 2021-04-20 06:55:52 +02:00
parent d00864acf8
commit de5a71f1a2

View file

@ -1,5 +1,8 @@
#!/usr/bin/env bash
# see https://docs.docker.com/develop/develop-images/build_enhancements/#to-enable-buildkit-builds
export DOCKER_BUILDKIT=1
if [[ -z $1 ]] && [[ -z $2 ]]; then
echo "Please provide a container image name and version" 1>&2
exit 1