Skip to content

Commit 5a6f329

Browse files
mergify[bot]v1v
andauthored
use golang-crossbuild native to ARM64 (#4536) (#4541)
(cherry picked from commit 3b8d818) Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
1 parent 37b4853 commit 5a6f329

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ BUILDMODE_darwin_amd64=-buildmode=pie
1919
BUILDMODE_darwin_arm64=-buildmode=pie
2020

2121
CROSSBUILD_SUFFIX=main-debian11
22+
CROSSBUILD_ARM_SUFFIX=base-arm-debian9
2223
STANDALONE_DOCKERFILE=Dockerfile
2324
BUILDER_IMAGE=fleet-server-builder:${GO_VERSION}
2425

@@ -312,7 +313,7 @@ endif
312313

313314
build-releaser: ## - Build a Docker image to run make package including all build tools
314315
ifeq ($(shell uname -p),arm)
315-
$(eval SUFFIX := arm)
316+
$(eval SUFFIX := ${CROSSBUILD_ARM_SUFFIX})
316317
else
317318
$(eval SUFFIX := ${CROSSBUILD_SUFFIX})
318319
endif

0 commit comments

Comments
 (0)