File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -161,10 +161,15 @@ COPY --link --from=cni-plugins /opt/cni/bin/firewall /buildkit-cni-firewall
161
161
FROM scratch AS cni-plugins-export-squashed
162
162
COPY --from=cni-plugins-export / /
163
163
164
+ FROM --platform=$BUILDPLATFORM alpine:${ALPINE_VERSION} AS binfmt-filter
165
+ # built from https://github.com/tonistiigi/binfmt/releases/tag/buildkit%2Fv9.2.0-50
166
+ COPY --link --from=tonistiigi/binfmt:buildkit-v9.2.0-50@sha256:ff21b00e7238dce3bbd74fbe25591f7213837a77861b47b2df5e019540ec33fa / /out/
167
+ WORKDIR /out/
168
+ RUN rm buildkit-qemu-loongarch64 buildkit-qemu-mips64 buildkit-qemu-mips64el
169
+
164
170
FROM scratch AS binaries-linux
165
171
COPY --link --from=runc /usr/bin/runc /buildkit-runc
166
- # built from https://github.com/tonistiigi/binfmt/releases/tag/buildkit%2Fv9.2.0-50
167
- COPY --link --from=tonistiigi/binfmt:buildkit-v9.2.0-50@sha256:ff21b00e7238dce3bbd74fbe25591f7213837a77861b47b2df5e019540ec33fa / /
172
+ COPY --link --from=binfmt-filter /out/ /
168
173
COPY --link --from=cni-plugins-export-squashed / /
169
174
COPY --link --from=buildctl /usr/bin/buildctl /
170
175
COPY --link --from=buildkitd /usr/bin/buildkitd /
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ var qemuArchMap = map[string]string{
27
27
"riscv64" : "riscv64" ,
28
28
"arm" : "arm" ,
29
29
"s390x" : "s390x" ,
30
- "ppc64" : "ppc64" ,
31
30
"ppc64le" : "ppc64le" ,
32
31
"386" : "i386" ,
33
32
}
You can’t perform that action at this time.
0 commit comments