mirror of
https://github.com/openziti/ziti.git
synced 2026-10-12 15:28:05 +00:00
3ac5d55204
Release v0.22.12 always build the Linux container with latest Go Use go install instead of go get reconcile upstream's main workflow reconcile upstream's common/version/info_generated.go
13 lines
503 B
Bash
Executable File
13 lines
503 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# build the Linux artifacts for amd64, arm, arm64
|
|
#
|
|
# see instructions to run reproducible build with Docker in ./Dockerfile.linux-build
|
|
#
|
|
set -o pipefail -e -u
|
|
|
|
GOX_OUTPUT="release/{{.Arch}}/{{.OS}}/{{.Dir}}"
|
|
CGO_ENABLED=true gox -os=linux -arch=amd64 -output=${GOX_OUTPUT} ./...
|
|
CC=arm-linux-gnueabihf-gcc CGO_ENABLED=true gox -cgo -os=linux -arch=arm -output=${GOX_OUTPUT} ./...
|
|
CC=aarch64-linux-gnu-gcc CGO_ENABLED=true gox -cgo -os=linux -arch=arm64 -output=$GOX_OUTPUT ./...
|