Removed -installsuffix
This commit is contained in:
parent
9ac760da1c
commit
a24fa29ba8
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ RUN go get -d -v ./...
|
||||||
# export I_GitBranch=$(git rev-parse --abbrev-ref HEAD) && \
|
# 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 .
|
# 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
|
FROM scratch as production
|
||||||
WORKDIR /goshorly
|
WORKDIR /goshorly
|
||||||
|
|
Loading…
Reference in a new issue