Skip to content

Commit

Permalink
chore: add apple silicon processors build command (#682)
Browse files Browse the repository at this point in the history
Add build reckoner commands for Apple Silicon chips (macbooks M1 and M2)
  • Loading branch information
Startouf authored Aug 1, 2023
1 parent e3e334b commit bd504cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@ clean:
# Cross compilation
build-linux:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GOBUILD) -o $(BINARY_NAME) -ldflags "-X main.version=$(VERSION) -X main.commit=$(COMMIT) -s -w" -v
build-apple-silicon:
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 $(GOBUILD) -o $(BINARY_NAME) -ldflags "-X main.version=$(VERSION) -X main.commit=$(COMMIT) -s -w" -v
build-docker: build-linux
docker build -t quay.io/fairwinds/reckoner:go-dev -f Dockerfile .

0 comments on commit bd504cd

Please sign in to comment.