From 5d20d96c579f3d12bdfa0f25cf0d0135dfb58ced Mon Sep 17 00:00:00 2001 From: jochen Date: Sat, 17 Oct 2026 18:15:52 +0200 Subject: [PATCH] One route-proxy Dockerfile: the module's, which the Makefile builds (issue 1019) --- modules/route-proxy/cmd/route-proxy/Dockerfile | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 modules/route-proxy/cmd/route-proxy/Dockerfile diff --git a/modules/route-proxy/cmd/route-proxy/Dockerfile b/modules/route-proxy/cmd/route-proxy/Dockerfile deleted file mode 100644 index 0395803..0000000 --- a/modules/route-proxy/cmd/route-proxy/Dockerfile +++ /dev/null @@ -1,17 +0,0 @@ -# The route proxy, as a module ships one. -# -# Static and FROM scratch like the control plane's image, and for the same reason: it is fetched -# by digest and run on a machine, so everything in it is something a person would have to audit. -# The Go it builds with is the one the manifest pins (build.on GO_BASE), passed by the Makefile and the -# build machine alike; the default only serves a hand build, and matches go.mod. -ARG GO_BASE=golang:1.26-alpine -FROM ${GO_BASE} AS build -WORKDIR /src -COPY go.mod go.sum ./ -RUN go mod download -COPY . . -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 -ENTRYPOINT ["/mesh-route-proxy"]