Skip to content

Commit 6fd132d

Browse files
committed
Update base image to buster-v1.9.0
Also update go version to get new style build tags.
1 parent 81235c1 commit 6fd132d

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@
1414

1515

1616

17-
FROM golang:1.13.4 as builder
17+
FROM golang:1.13.15 as builder
1818
WORKDIR /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver
1919
ADD . .
2020
RUN make
2121

2222
# MAD HACKS: Build a version first so we can take the scsi_id bin and put it somewhere else in our real build
23-
FROM k8s.gcr.io/build-image/debian-base-amd64:v2.1.3 as base
23+
FROM k8s.gcr.io/build-image/debian-base-amd64:buster-v1.9.0 as base
2424
RUN clean-install udev
2525

2626
# Start from Kubernetes Debian base
27-
FROM k8s.gcr.io/build-image/debian-base-amd64:v2.1.3
27+
FROM k8s.gcr.io/build-image/debian-base-amd64:buster-v1.9.0
2828
COPY --from=builder /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/bin/gce-pd-csi-driver /gce-pd-csi-driver
2929
# Install necessary dependencies
3030
RUN clean-install util-linux e2fsprogs mount ca-certificates udev xfsprogs

pkg/resizefs/resizefs_linux.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build linux
12
// +build linux
23

34
/*

pkg/resizefs/resizefs_unsupported.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build !linux
12
// +build !linux
23

34
/*

0 commit comments

Comments
 (0)