diff --git a/modules/route-proxy/cmd/route-proxy/Dockerfile b/modules/route-proxy/cmd/route-proxy/Dockerfile index 1c03627..0395803 100644 --- a/modules/route-proxy/cmd/route-proxy/Dockerfile +++ b/modules/route-proxy/cmd/route-proxy/Dockerfile @@ -10,7 +10,7 @@ WORKDIR /src COPY go.mod go.sum ./ RUN go mod download COPY . . -RUN CGO_ENABLED=0 go build -trimpath -ldflags '-s -w' -o /mesh-route-proxy ./examples/route-proxy +RUN CGO_ENABLED=0 go build -trimpath -buildvcs=false -ldflags '-s -w' -o /mesh-route-proxy ./examples/route-proxy FROM scratch COPY --from=build /mesh-route-proxy /mesh-route-proxy