-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shell out to docker buildx build
to build images
#1402
Merged
Merged
Changes from 9 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
d0d87c8
Shell out to `docker buildx build` to build images
yuvipanda 1ca89b8
Remove type hints for now
yuvipanda 258daa7
Automatically load built image to mimic previous behavior
yuvipanda 93cb0d7
Support `Dockerfile` too
yuvipanda 77ed499
Support --platform and --labels
yuvipanda 743c9f9
Iterate labels as dicts
yuvipanda b1cedc4
Remove some patched out tests that don't apply anymore
yuvipanda 8e20b60
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a03bf74
Add a warning + check to make sure docker is installed
yuvipanda d940706
Add extra_buildx_build_args
yuvipanda 5b96156
Fix trait definition
yuvipanda d7968bb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 6df3ec6
Fix traitlet again?
yuvipanda 087c332
Specify what kinda list extra_buildx_build_args can be
yuvipanda 07ef92e
Add extra_args test
yuvipanda bd61590
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 34399f8
Throw error if using --build-memory-limit
yuvipanda bd39320
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b243cb6
Add another unit test for sys.exit behavior
yuvipanda 6484673
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a9a38de
Clarify where memory limits are
yuvipanda 709eb8e
Update error message
yuvipanda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
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.
Looks like
rm
andforcerm
don't have equivalents. Just noting that this is intentional. Are there likely to be significant changes in the cache behavior with buildkit we need to pay attention to?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.
Yeah, we'll have to see how it goes. But buildkit does give us a lot more knobs here - https://docs.docker.com/build/cache/backends/.