Removed -installsuffix

This commit is contained in:
Phil 2022-01-06 19:20:57 +01:00
parent 9ac760da1c
commit a24fa29ba8

View file

@ -12,7 +12,7 @@ RUN go get -d -v ./...
# export I_GitBranch=$(git rev-parse --abbrev-ref HEAD) && \
# go build -a -installsuffix cgo -ldflags "-X $I_PACKAGE.GitCommitShort=$I_GitCommitShort -X $I_PACKAGE.GitBranch=$I_GitBranch" -o app .
RUN go build -a -installsuffix cgo -o app .
RUN go build -a -o app .
FROM scratch as production
WORKDIR /goshorly