mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-19 10:33:29 +00:00
Ensure Docker agent builds stay static (#597)
This commit is contained in:
parent
cdba742884
commit
e1fe8354e9
3 changed files with 10 additions and 2 deletions
|
|
@ -10,6 +10,9 @@ if [ -x /usr/local/go/bin/go ]; then
|
|||
export PATH=/usr/local/go/bin:$PATH
|
||||
fi
|
||||
|
||||
# Force static binaries so release artifacts run on older glibc hosts
|
||||
export CGO_ENABLED=0
|
||||
|
||||
VERSION=${1:-$(cat VERSION)}
|
||||
BUILD_DIR="build"
|
||||
RELEASE_DIR="release"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue