From 62e2caef47adb4710666e2794d9ee3c35ed287e8 Mon Sep 17 00:00:00 2001 From: Sneha Aradhey Date: Wed, 9 Aug 2023 01:15:01 +0000 Subject: [PATCH] Update go version to 1.20.6 to fix CVE --- Dockerfile | 2 +- Dockerfile.Windows | 2 +- Dockerfile.debug | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a87269e2e..0269e2874 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ ARG BUILDPLATFORM -FROM --platform=$BUILDPLATFORM golang:1.20.5 as builder +FROM --platform=$BUILDPLATFORM golang:1.20.6 as builder ARG STAGINGVERSION ARG TARGETPLATFORM diff --git a/Dockerfile.Windows b/Dockerfile.Windows index 4f83884f6..63f4f1d46 100644 --- a/Dockerfile.Windows +++ b/Dockerfile.Windows @@ -13,7 +13,7 @@ # limitations under the License. ARG BASE_IMAGE -FROM --platform=$BUILDPLATFORM golang:1.20.5 AS builder +FROM --platform=$BUILDPLATFORM golang:1.20.6 AS builder ARG TARGETPLATFORM ARG BUILDPLATFORM diff --git a/Dockerfile.debug b/Dockerfile.debug index 249f62d95..1d8a76a9e 100644 --- a/Dockerfile.debug +++ b/Dockerfile.debug @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM golang:1.19.6 as builder +FROM golang:1.20.6 as builder WORKDIR /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver ADD . .