updates go version and removes UPX

This commit is contained in:
2022-05-21 12:28:00 -05:00
parent 4da5e6a642
commit b97edf1273
2 changed files with 2 additions and 3 deletions

3
Jenkinsfile vendored
View File

@@ -57,9 +57,8 @@ podTemplate(
apk add --no-cache git
git config --global --add safe.directory '${workspace}'
fi
apk add --no-cache gcc musl-dev upx
apk add --no-cache gcc musl-dev
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -v -ldflags="-s -w" -tags timetzdata -o pihole-zone-generator ./cmd/bind
upx --lzma pihole-zone-generator
"""
}
}