File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,11 @@ WORKDIR /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver
21
21
ADD . .
22
22
RUN GOARCH=$(echo $TARGETPLATFORM | cut -f2 -d '/' ) GCE_PD_CSI_STAGING_VERSION=$STAGINGVERSION make gce-pd-driver
23
23
24
- FROM gke.gcr.io/debian-base:bookworm-v1.0.2-gke.2@sha256:1e4d9fa20ba4b3372f2c2f8676823f25c63e1ba7c09ed17933a19b054b97b795 AS debian
24
+ # Start from Kubernetes Debian base.
25
+
26
+ FROM gke.gcr.io/debian-base:bookworm-v1.0.2-gke.2 as debian
27
+
28
+ RUN clean-install util-linux e2fsprogs mount ca-certificates udev xfsprogs nvme-cli xxd bash
25
29
ARG PKGS="util-linux e2fsprogs mount ca-certificates udev xfsprogs nvme-cli xxd bash"
26
30
RUN cd /tmp \
27
31
&& apt-get update \
@@ -48,9 +52,9 @@ ENV LIB_DIR_PREFIX aarch64
48
52
49
53
FROM distroless-$TARGETARCH as output-image
50
54
51
- # Update the bas image for debian
55
+ # Update the base image for debian
52
56
COPY --from=debian ["/dpkg/" , "/" ]
53
-
57
+ COPY --from=debian /bin/bash /bin/bash
54
58
55
59
# Copy necessary dependencies into distroless base.
56
60
COPY --from=builder /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/bin/gce-pd-csi-driver /gce-pd-csi-driver
You can’t perform that action at this time.
0 commit comments