File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 20
20
# start from debian slim, this image is reasonably small as a starting point
21
21
# for a kubernetes node image, it doesn't contain much (anything?) we don't need
22
22
# this stage will install basic files and packages
23
- ARG BASE_IMAGE=debian:bullseye -slim
23
+ ARG BASE_IMAGE=debian:bookworm -slim
24
24
FROM $BASE_IMAGE as base
25
25
26
26
# copy in static files
Original file line number Diff line number Diff line change 15
15
# This image is a haproxy image + minimal config so the container will not exit
16
16
# while we rewrite the config at runtime and signal haproxy to reload.
17
17
18
- ARG BASE="registry.k8s.io/build-image/debian-base:bullseye -v1.4.3 "
18
+ ARG BASE="registry.k8s.io/build-image/debian-base:bookworm -v1.0.0 "
19
19
FROM ${BASE} as build
20
20
21
21
# NOTE: copyrights.tar.gz is a quirk of Kubernetes's debian-base image
@@ -50,7 +50,7 @@ RUN mkdir -p "${STAGE_DIR}" && \
50
50
51
51
# See: https://github.com/GoogleContainerTools/distroless/tree/main/base
52
52
# This has /etc/passwd, tzdata, cacerts
53
- FROM "gcr.io/distroless/static-debian11 "
53
+ FROM "gcr.io/distroless/static-debian12 "
54
54
55
55
ARG STAGE_DIR="/opt/stage"
56
56
Original file line number Diff line number Diff line change 15
15
# This image is contains the binaries needed for the local-path-provisioner
16
16
# helper pod. Currently that means: sh, rm, mkdir
17
17
18
- ARG BASE="registry.k8s.io/build-image/debian-base:bullseye -v1.4.3 "
18
+ ARG BASE="registry.k8s.io/build-image/debian-base:bookworm -v1.0.0 "
19
19
FROM ${BASE} as build
20
20
21
21
# NOTE: copyrights.tar.gz is a quirk of Kubernetes's debian-base image
@@ -42,6 +42,6 @@ RUN mkdir -p "${STAGE_DIR}" && \
42
42
find "${STAGE_DIR}"
43
43
44
44
# copy staged binary + deps + copyright into distroless
45
- FROM "gcr.io/distroless/static-debian11 "
45
+ FROM "gcr.io/distroless/static-debian12 "
46
46
ARG STAGE_DIR="/opt/stage"
47
47
COPY --from=build "${STAGE_DIR}/" /
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ RUN eval "$(gimme "${GO_VERSION}")" \
27
27
&& GOBIN=/usr/local/bin go install github.com/google/go-licenses@latest \
28
28
&& GOARCH=$TARGETARCH go-licenses save --save_path=/_LICENSES .
29
29
30
- FROM gcr.io/distroless/base-debian11
30
+ FROM gcr.io/distroless/base-debian12
31
31
COPY --from=0 /usr/local/bin/local-path-provisioner /usr/local/bin/local-path-provisioner
32
32
COPY --from=0 /_LICENSES/* /LICENSES/
33
33
COPY --chmod=0644 files/LICENSES/* /LICENSES/*
You can’t perform that action at this time.
0 commit comments