This commit is contained in:
parent
30c2caabaf
commit
ddc538f99b
@ -7,7 +7,7 @@ ARG GOPROXY=https://goproxy.cn,direct
|
||||
ARG GOPRIVATE=gitea.timerzz.com
|
||||
ARG GONOSUMDB=gitea.timerzz.com
|
||||
ARG GONOPROXY=gitea.timerzz.com
|
||||
RUN go build -trimpath -ldflags '-w -s' -o product ./main
|
||||
RUN go build -trimpath -ldflags '-w -s' -o product ./cmd
|
||||
|
||||
FROM alpine:latest
|
||||
WORKDIR /work
|
||||
|
Loading…
Reference in New Issue
Block a user