diff --git a/Dockerfile.scratch b/Dockerfile.scratch index 2acacebe..a23e18d0 100644 --- a/Dockerfile.scratch +++ b/Dockerfile.scratch @@ -25,7 +25,7 @@ COPY . . RUN go get -u -d -v RUN CGO_ENABLED=1 GOOS=linux go build \ -tags musl -v \ - -ldflags="-X 'github.com/jrnd-io/jr/cmd.Version=${VERSION}' 'github.com/jrnd-io/jr/pkg/cmd.GoVersion=${GOVERSION}' -X 'github.com/jrnd-io/jr/cmd.BuildUser=${USER}' -X 'github.com/ugol/jr/cmd.BuildTime=${TIME}' -linkmode external -w -s -extldflags '-static'" \ + -ldflags="-X 'github.com/jrnd-io/jr/cmd.Version=${VERSION}' 'github.com/jrnd-io/jr/pkg/cmd.GoVersion=${GOVERSION}' -X 'github.com/jrnd-io/jr/cmd.BuildUser=${USER}' -X 'github.com/jrnd-io/jr/cmd.BuildTime=${TIME}' -linkmode external -w -s -extldflags '-static'" \ -a -o build/jr jr.go FROM scratch