diff --git a/Dockerfile b/Dockerfile index d9127cf..5e370c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM golang:1.18-alpine AS builder WORKDIR /src COPY main.go go.mod go.sum /src/ -RUN CGO_ENABLED=0 go build -ldflags="-s -w" +RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" FROM scratch