mirror of
https://github.com/int128/kubelogin.git
synced 2026-02-14 16:39:51 +00:00
fix(docker): Bump to distroless debian12 for golang:1.21 binaries (#980)
golang:1.21 binaries are compiled to require at least GLIBC 2.36, debian 10 is only 2.31.
This commit is contained in:
@@ -7,6 +7,6 @@ COPY main.go .
|
||||
COPY pkg pkg
|
||||
RUN go build
|
||||
|
||||
FROM gcr.io/distroless/base-debian10
|
||||
FROM gcr.io/distroless/base-debian12
|
||||
COPY --from=builder /builder/kubelogin /
|
||||
ENTRYPOINT ["/kubelogin"]
|
||||
|
||||
Reference in New Issue
Block a user