Remove -a when building binary

This commit is contained in:
Tom Moulard 2022-06-30 18:12:08 +02:00 committed by GitHub
parent 9c79fafeeb
commit 839bc7b3a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,4 +26,4 @@ CGO_ENABLED=0 GOGC=off go build ${FLAGS[*]} -ldflags "-s -w \
-X github.com/traefik/traefik/v2/pkg/version.Version=$VERSION \
-X github.com/traefik/traefik/v2/pkg/version.Codename=$CODENAME \
-X github.com/traefik/traefik/v2/pkg/version.BuildDate=$DATE" \
-a -installsuffix nocgo -o dist/traefik ./cmd/traefik
-installsuffix nocgo -o dist/traefik ./cmd/traefik