This commit is contained in:
parent
a983f73c59
commit
3883f417d2
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
|||
FROM library/golang:1.20 as build
|
||||
FROM library/golang:1.21 as build
|
||||
ADD * /go/caching-proxy/
|
||||
WORKDIR /go/caching-proxy
|
||||
ARG GOPROXY=direct
|
||||
RUN CGO_ENABLED=0 go build .
|
||||
|
||||
FROM gcr.io/distroless/base-debian11
|
||||
FROM gcr.io/distroless/base-debian12
|
||||
COPY --from=build /go/caching-proxy/caching-proxy /caching-proxy
|
||||
ENTRYPOINT ["/caching-proxy"]
|
||||
|
|
Loading…
Reference in a new issue