Skip to content

Commit e13388b

Browse files
committed
Update debian base image
1 parent 655ee16 commit e13388b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Diff for: Dockerfile

+4-6
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,14 @@ ADD . .
2424
RUN GOARCH=$(echo $TARGETPLATFORM | cut -f2 -d '/') GCE_PD_CSI_STAGING_VERSION=$STAGINGVERSION make gce-pd-driver
2525

2626
# MAD HACKS: Build a version first so we can take the scsi_id bin and put it somewhere else in our real build
27-
FROM k8s.gcr.io/build-image/debian-base:buster-v1.6.0 as mad-hack
28-
RUN ln -s /bin/rm /usr/sbin/rm \
29-
&& clean-install udev
27+
FROM k8s.gcr.io/build-image/debian-base:buster-v1.9.0 as mad-hack
28+
RUN clean-install udev
3029

3130
# Start from Kubernetes Debian base
32-
FROM k8s.gcr.io/build-image/debian-base:buster-v1.6.0
31+
FROM k8s.gcr.io/build-image/debian-base:buster-v1.9.0
3332
COPY --from=builder /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/bin/gce-pd-csi-driver /gce-pd-csi-driver
3433
# Install necessary dependencies
35-
RUN ln -s /bin/rm /usr/sbin/rm \
36-
&& clean-install util-linux e2fsprogs mount ca-certificates udev xfsprogs
34+
RUN clean-install util-linux e2fsprogs mount ca-certificates udev xfsprogs
3735
COPY --from=mad-hack /lib/udev/scsi_id /lib/udev_containerized/scsi_id
3836

3937
ENTRYPOINT ["/gce-pd-csi-driver"]

0 commit comments

Comments
 (0)