Skip to content

Commit

Permalink
feat(sgdocker): support apple silicone
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-richmond committed Oct 24, 2023
1 parent 50d1557 commit 2569f3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/sgdocker/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 2569f3c

Please sign in to comment.