File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ RUN go mod download
88COPY . .
99RUN CGO_ENABLED=0 go build -buildvcs=false ./cmd/mc-router
1010
11- FROM gcr.io/distroless/static-debian12
11+ FROM alpine AS certs
12+ RUN apk add -U \
13+ ca-certificates
14+
15+ FROM scratch
1216ENTRYPOINT ["/mc-router" ]
17+ COPY --from=certs /etc/ssl/certs/ /etc/ssl/certs
1318COPY --from=builder /build/mc-router /mc-router
Original file line number Diff line number Diff line change 1- FROM gcr.io/distroless/static-debian12
1+ FROM alpine AS certs
2+ RUN apk add -U \
3+ ca-certificates
4+
5+ FROM scratch
26
37LABEL org.opencontainers.image.authors="Geoff Bourne <itzgeoff@gmail.com>"
48LABEL org.opencontainers.image.title="mc-router"
59LABEL org.opencontainers.image.source="https://github.com/itzg/mc-router"
610
11+ COPY --from=certs /etc/ssl/certs/ /etc/ssl/certs
712COPY mc-router /
813ENTRYPOINT ["/mc-router"]
You can’t perform that action at this time.
0 commit comments