Ensure Docker agent builds stay static (#597)

This commit is contained in:
rcourtman 2025-10-22 21:48:57 +00:00
parent cdba742884
commit e1fe8354e9
3 changed files with 10 additions and 2 deletions

View file

@ -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"