mirror of
https://github.com/meehow/privtracker.git
synced 2026-09-02 22:56:07 +08:00
remove buildid also in the docker build
This commit is contained in:
@@ -6,7 +6,7 @@ COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
COPY *.go ./
|
||||
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -trimpath
|
||||
RUN CGO_ENABLED=0 go build -ldflags="-s -w -buildid=" -trimpath
|
||||
|
||||
# build runner
|
||||
FROM scratch
|
||||
|
||||
Reference in New Issue
Block a user