Ensure static linked binary
This commit is contained in:
parent
b899f65b5a
commit
fc68e6449c
3
pack.sh
3
pack.sh
@ -1,7 +1,7 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
go build
|
CGO_ENABLED=0 go build
|
||||||
zip pingtunnel_linux64.zip pingtunnel
|
zip pingtunnel_linux64.zip pingtunnel
|
||||||
|
|
||||||
GOOS=darwin GOARCH=amd64 go build
|
GOOS=darwin GOARCH=amd64 go build
|
||||||
@ -24,4 +24,3 @@ zip pingtunnel_windows32.zip pingtunnel.exe
|
|||||||
|
|
||||||
GOOS=linux GOARCH=arm64 go build
|
GOOS=linux GOARCH=arm64 go build
|
||||||
zip pingtunnel_arm64.zip pingtunnel
|
zip pingtunnel_arm64.zip pingtunnel
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user