Skip to content

Commit eeb5325

Browse files
committed
Robust handling of /usr/sbin/rm in Dockerfile
Change-Id: I4569ed4b3739332e745f85e681559857979a4f3a
1 parent 85f0cfa commit eeb5325

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ RUN GOARCH=$(echo $TARGETPLATFORM | cut -f2 -d '/') GCE_PD_CSI_STAGING_VERSION=$
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
2727
FROM k8s.gcr.io/build-image/debian-base:buster-v1.9.0 as mad-hack
28-
RUN ln -s /bin/rm /usr/sbin/rm \
28+
RUN ln -fs /bin/rm /usr/sbin/rm \
2929
&& clean-install udev
3030

3131
# Start from Kubernetes Debian base

0 commit comments

Comments
 (0)