forked from SW/traefik
scripts: makefile, dockerfile, travis, ...
This commit is contained in:
committed by
Traefiker Bot
parent
4c5e7a238d
commit
51b0508512
@@ -28,7 +28,7 @@ fi
|
||||
# Build binaries
|
||||
# shellcheck disable=SC2086
|
||||
CGO_ENABLED=0 GOGC=off go build ${FLAGS[*]} -ldflags "-s -w \
|
||||
-X github.com/containous/traefik/pkg/version.Version=$VERSION \
|
||||
-X github.com/containous/traefik/pkg/version.Codename=$CODENAME \
|
||||
-X github.com/containous/traefik/pkg/version.BuildDate=$DATE" \
|
||||
-X github.com/containous/traefik/pkg/v2/version.Version=$VERSION \
|
||||
-X github.com/containous/traefik/pkg/v2/version.Codename=$CODENAME \
|
||||
-X github.com/containous/traefik/pkg/v2/version.BuildDate=$DATE" \
|
||||
-a -installsuffix nocgo -o dist/traefik ./cmd/traefik
|
||||
|
||||
Reference in New Issue
Block a user