This commit is contained in:
parent
69d2296b16
commit
8762164388
@ -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 -o run -trimpath -ldflags '-w -s' ./cmd
|
||||
RUN go build -trimpath -ldflags '-w -s' -o run ./cmd
|
||||
|
||||
FROM alpine:latest
|
||||
WORKDIR /work
|
||||
|
Loading…
Reference in New Issue
Block a user