From 827bca0cdb995c65dd56409cd9c4d6e467ec2b31 Mon Sep 17 00:00:00 2001 From: "Bobby R. Bruce" Date: Sat, 21 Sep 2024 04:49:28 -0700 Subject: [PATCH] util-docker: Remove 'latex/riscv64' as Docker build target It is unlikely anyone will be running these images on a RISC-V system anytime soon. They are costly in terms of space and also require RISC-V emulation to build which is very slow. This change has it so our multi-platform builds just target ARM and X86. --- util/dockerfiles/docker-bake.hcl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/util/dockerfiles/docker-bake.hcl b/util/dockerfiles/docker-bake.hcl index 2ef05c7dd5..cbc006f42a 100644 --- a/util/dockerfiles/docker-bake.hcl +++ b/util/dockerfiles/docker-bake.hcl @@ -37,9 +37,8 @@ variable "TAG" { # Common attributes across all targets. Note: these can be overwritten. target "common" { - # Here we are enabling multi-platform builds. We are compiling to ARM, X86, - # and RISC-V. - platforms = ["linux/amd64", "linux/arm64", "linux/riscv64"] + # Here we are enabling multi-platform builds. We are compiling to ARM, X86] + platforms = ["linux/amd64", "linux/arm64"] pull = true }