Skip to content

Commit 98a7393

Browse files
authored
Merge pull request #1033 from mattcary/r1.3-docker
Update golang and base image
2 parents 819cd2d + 8c96a9e commit 98a7393

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
ARG BUILDPLATFORM
1616

17-
FROM --platform=$BUILDPLATFORM golang:1.17.8 as builder
17+
FROM --platform=$BUILDPLATFORM golang:1.18.4 as builder
1818

1919
ARG STAGINGVERSION
2020
ARG TARGETPLATFORM
@@ -24,12 +24,12 @@ 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.9.0 as mad-hack
27+
FROM k8s.gcr.io/build-image/debian-base:bullseye-v1.4.1 as mad-hack
2828
RUN ln -fs /bin/rm /usr/sbin/rm \
2929
&& clean-install udev
3030

3131
# Start from Kubernetes Debian base
32-
FROM k8s.gcr.io/build-image/debian-base:buster-v1.10.0
32+
FROM k8s.gcr.io/build-image/debian-base:bullseye-v1.4.1
3333
COPY --from=builder /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/bin/gce-pd-csi-driver /gce-pd-csi-driver
3434
# Install necessary dependencies
3535
RUN ln -fs /bin/rm /usr/sbin/rm \

0 commit comments

Comments
 (0)