This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Call out buildkit is required when building test docker images #13338
Call out buildkit is required when building test docker images #13338
Changes from 2 commits
ea87e89
4f0af55
77a4687
6435348
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think BuildKit is required to build the base docker image too, not just the testing images? (See #11691.) If so, should we prepend
DOCKER_BUILDKIT=1
to the invocations below?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per #13319 it's possible to get to this point without buildkit because you can build the test image based on the one available in docker hub.
I'm not sure I how this is a consequence of the base image needing buildkit. As mentioned by the PR description, I considered prepending
DOCKER_BUILDKIT=1
to alldocker build
calls but since there are more ways to enable buildkit than setting the environment variable I figured it would be more complete to not do that.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, re-reading #13319 (comment) this makes more sense.
I think my confusion is due to
this image
being unclear. There are three images (base, workers, complement) and it's not clear which needs buildkit---all three?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah right yes, sorry about the typo!