From cce8eab81f60232fbd3a48aeb7b36f4196f0f2a4 Mon Sep 17 00:00:00 2001 From: dongjiang1989 Date: Wed, 20 Dec 2023 14:46:02 +0800 Subject: [PATCH] update golang version 1.19 Signed-off-by: dongjiang1989 --- Dockerfile | 2 +- Dockerfile.arm64 | 2 +- Dockerfile.muti | 2 +- go.mod | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1864537f..c034187c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=linux/amd64 golang:1.18 AS builder +FROM --platform=linux/amd64 golang:1.19 AS builder WORKDIR /go/src/github.com/alibaba/open-local COPY . . diff --git a/Dockerfile.arm64 b/Dockerfile.arm64 index b51be4bd..1f4985c8 100644 --- a/Dockerfile.arm64 +++ b/Dockerfile.arm64 @@ -1,4 +1,4 @@ -FROM --platform=linux/arm64 golang:1.18 AS builder +FROM --platform=linux/arm64 golang:1.19 AS builder WORKDIR /go/src/github.com/alibaba/open-local COPY . . diff --git a/Dockerfile.muti b/Dockerfile.muti index 9347aa04..36e8dd94 100644 --- a/Dockerfile.muti +++ b/Dockerfile.muti @@ -1,4 +1,4 @@ -FROM golang:1.18 AS builder +FROM golang:1.19 AS builder WORKDIR /go/src/github.com/alibaba/open-local COPY . . diff --git a/go.mod b/go.mod index 5ae1bc80..64598d40 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/alibaba/open-local -go 1.18 +go 1.19 require ( github.com/aws/aws-sdk-go v1.45.25 @@ -101,7 +101,7 @@ require ( k8s.io/kube-openapi v0.0.0-20230525220651-2546d827e515 // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect - sigs.k8s.io/yaml v1.4.0 // indirect + sigs.k8s.io/yaml v1.4.0 ) require (