From 5101334ed30cb2c6ab570bf2c6e37ddb6cce09dd Mon Sep 17 00:00:00 2001 From: Sneha Aradhey Date: Fri, 25 Aug 2023 17:19:06 +0000 Subject: [PATCH] Update go version to 1.20.7 to fix CVEs --- Dockerfile | 2 +- Dockerfile.Windows | 2 +- Dockerfile.debug | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0269e2874..68d44170e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ ARG BUILDPLATFORM -FROM --platform=$BUILDPLATFORM golang:1.20.6 as builder +FROM --platform=$BUILDPLATFORM golang:1.20.7 as builder ARG STAGINGVERSION ARG TARGETPLATFORM diff --git a/Dockerfile.Windows b/Dockerfile.Windows index 63f4f1d46..b751656c4 100644 --- a/Dockerfile.Windows +++ b/Dockerfile.Windows @@ -13,7 +13,7 @@ # limitations under the License. ARG BASE_IMAGE -FROM --platform=$BUILDPLATFORM golang:1.20.6 AS builder +FROM --platform=$BUILDPLATFORM golang:1.20.7 AS builder ARG TARGETPLATFORM ARG BUILDPLATFORM diff --git a/Dockerfile.debug b/Dockerfile.debug index cbf986a84..4cd289620 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.20.6 as builder +FROM golang:1.20.7 as builder WORKDIR /go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver ADD . .