From 2569f3cb635fc8d7ad62fd8896ccb4fd0cd81787 Mon Sep 17 00:00:00 2001 From: Josh Richmond Date: Tue, 24 Oct 2023 15:56:36 +0200 Subject: [PATCH] feat(sgdocker): support apple silicone --- tools/sgdocker/command.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/sgdocker/command.go b/tools/sgdocker/command.go index 2cbaeebd..fd5c07d9 100644 --- a/tools/sgdocker/command.go +++ b/tools/sgdocker/command.go @@ -34,6 +34,9 @@ func PrepareCommand(ctx context.Context) error { if hostArch == sgtool.AMD64 { hostArch = sgtool.X8664 } + if hostArch == sgtool.ARM64 { + hostArch = "aarch64" + } if hostOS == sgtool.Darwin { hostOS = "mac" }