Skip to content

Commit

Permalink
Patch buildx to default to tianon/buildkit images
Browse files Browse the repository at this point in the history
  • Loading branch information
tianon committed May 23, 2024
1 parent 0bca5e8 commit db0fa74
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions moby-buildx/debian/patches/default-images.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Description: switch default buildkit image to Tianon's
Forwarded: nope, definitely not upstream-applicable!

(also, make sure `QemuImage` is never used)

diff --git a/driver/bkimage/bkimage.go b/driver/bkimage/bkimage.go
index f2443e7c..60df6326 100644
--- a/driver/bkimage/bkimage.go
+++ b/driver/bkimage/bkimage.go
@@ -1,7 +1,7 @@
package bkimage

const (
- DefaultImage = "moby/buildkit:buildx-stable-1" // TODO: make this verified
- QemuImage = "tonistiigi/binfmt:latest" // TODO: make this verified
+ DefaultImage = "tianon/buildkit"
+ QemuImage = "example.com/tianon/nope"
DefaultRootlessImage = DefaultImage + "-rootless"
)
1 change: 1 addition & 0 deletions moby-buildx/debian/patches/series
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
classic-plain-progress.patch
containerd-arm64-v8.patch
default-images.patch
default-load.patch
default-plain-progress.patch
no-git-by-default.patch

0 comments on commit db0fa74

Please sign in to comment.