caching-proxy/Containerfile

10 lines
266 B
Text
Raw Permalink Normal View History

2024-09-08 06:00:58 +00:00
FROM library/golang:1.23 as build
2024-02-18 22:51:11 +00:00
ADD * /go/caching-proxy/
WORKDIR /go/caching-proxy
ARG GOPROXY=direct
RUN CGO_ENABLED=0 go build .
2024-02-18 22:52:28 +00:00
FROM gcr.io/distroless/base-debian12
2024-02-18 22:51:11 +00:00
COPY --from=build /go/caching-proxy/caching-proxy /caching-proxy
ENTRYPOINT ["/caching-proxy"]