Skip to content

Commit 415ecad

Browse files
author
Matthias Koeppe
committed
tox.ini (docker): Make DOCKER_BUILDKIT=1 the default
1 parent 358909a commit 415ecad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ passenv =
143143
docker: EXTRA_DOCKER_BUILD_ARGS
144144
docker: EXTRA_DOCKER_TAGS
145145
docker: DOCKER_TAG
146-
# Use DOCKER_BUILDKIT=1 for new version - for which unfortunately we cannot save failed builds as an image
146+
# Use DOCKER_BUILDKIT=0 for legacy builder
147147
docker: DOCKER_BUILDKIT
148148
docker: BUILDKIT_INLINE_CACHE
149149
# Set for example to "with-system-packages configured with-targets-pre with-targets"
@@ -756,7 +756,7 @@ commands =
756756
docker: BUILD_IMAGE=$DOCKER_PUSH_REPOSITORY$BUILD_IMAGE_STEM-$docker_target; \
757757
docker: BUILD_TAG={env:DOCKER_TAG:$(git describe --dirty --always)}; \
758758
docker: TAG_ARGS=$(for tag in $BUILD_TAG {env:EXTRA_DOCKER_TAGS:}; do echo --tag $BUILD_IMAGE:$tag; done); \
759-
docker: DOCKER_BUILDKIT={env:DOCKER_BUILDKIT:0}; \
759+
docker: DOCKER_BUILDKIT={env:DOCKER_BUILDKIT:1}; \
760760
docker: docker build . -f {envdir}/Dockerfile \
761761
docker: --target $docker_target \
762762
docker: $TAG_ARGS \

0 commit comments

Comments
 (0)