Skip to content

Commit 2c0b23d

Browse files
authored
Merge pull request #439 from davidz627/update/imagevers
Update build golang version to 1.13.4 and image distro to debian-amd64:v2.0.0
2 parents 629505f + a26ada4 commit 2c0b23d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414

1515

1616

17-
FROM golang:1.11.2-alpine3.8 as builder
17+
FROM golang:1.13.4-alpine3.10 as builder
1818
WORKDIR /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver
1919
ADD . .
2020
ARG TAG
2121
RUN CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-X main.vendorVersion='"${TAG:-latest}"' -extldflags "-static"' -o bin/gce-pd-csi-driver ./cmd/
2222

2323
# Start from Google Debian base
24-
FROM gcr.io/google-containers/debian-base-amd64:v1.0.0
24+
FROM gcr.io/google-containers/debian-base-amd64:v2.0.0
2525
COPY --from=builder /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/bin/gce-pd-csi-driver /gce-pd-csi-driver
2626

2727
# Install necessary dependencies

0 commit comments

Comments
 (0)