From d8050e826d874defefc414bbefc23e4d351b335d Mon Sep 17 00:00:00 2001 From: WANG Xuerui Date: Fri, 28 Jun 2024 13:47:13 +0800 Subject: [PATCH] Enable linux/loong64 across the board As buildkit v0.14.x comes with loong64 support, this is automatically integrated after the dep bump, and we only need to add loong64 to the build recipe and hack script to make it work. Fixes: https://github.com/tonistiigi/binfmt/issues/133 Signed-off-by: WANG Xuerui --- docker-bake.hcl | 1 + hack/install-and-test | 1 + 2 files changed, 2 insertions(+) diff --git a/docker-bake.hcl b/docker-bake.hcl index f5da15a8..2228bae1 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -32,6 +32,7 @@ target "all-arch" { "linux/arm64", "linux/arm/v6", "linux/arm/v7", + "linux/loong64", "linux/ppc64le", "linux/s390x", "linux/riscv64", diff --git a/hack/install-and-test b/hack/install-and-test index e42d2b28..a825f50a 100755 --- a/hack/install-and-test +++ b/hack/install-and-test @@ -13,6 +13,7 @@ echo $status | jq .supported | grep linux/arm64 echo $status | jq .supported | grep linux/amd64 echo $status | jq .supported | grep linux/arm/v7 echo $status | jq .supported | grep linux/arm/v6 +echo $status | jq .supported | grep linux/loong64 echo $status | jq .supported | grep linux/riscv64 echo $status | jq .supported | grep linux/ppc64le echo $status | jq .supported | grep linux/386