Skip to content

Commit 9c0c6ef

Browse files
committed
demo: force buildkit
Signed-off-by: Mikko Ylinen <[email protected]>
1 parent 7fdb825 commit 9c0c6ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/build-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ CWD=`dirname $0`
1818
TAG=${TAG:-devel}
1919

2020
if [ -z "$BUILDER" -o "$BUILDER" = 'docker' -o "$BUILDER" = 'podman' ] ; then
21-
${BUILDER} build --pull -t ${IMG}:${TAG} "$CWD/$DIR/"
21+
DOCKER_BUILDKIT=1 ${BUILDER} build --pull -t ${IMG}:${TAG} "$CWD/$DIR/"
2222
elif [ "$BUILDER" = 'buildah' ] ; then
2323
buildah bud --pull-always -t ${IMG}:${TAG} "$CWD/$DIR/"
2424
else

0 commit comments

Comments
 (0)