From 4b5c18cab980c4a08a9f5ca910ac5aefe6b891a7 Mon Sep 17 00:00:00 2001 From: yu lin <735122171@qq.com> Date: Tue, 1 Aug 2023 15:08:37 +0800 Subject: [PATCH] Update golang version to 1.16 (#970) Signed-off-by: Syulin7 <735122171@qq.com> --- Dockerfile.build | 2 +- Makefile | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.build b/Dockerfile.build index 04bf7454a..efad8d479 100644 --- a/Dockerfile.build +++ b/Dockerfile.build @@ -3,7 +3,7 @@ # # Create a go runtime for building arena -ARG GOLANG_VERSION=1.14 +ARG GOLANG_VERSION=1.16 ARG KUBE_VERSION=v1.23.0 ARG HELM_VERSION=v3.7.2 ARG VERSION=v0.3.0-rc diff --git a/Makefile b/Makefile index 71a1a8b52..e2206ac36 100644 --- a/Makefile +++ b/Makefile @@ -119,7 +119,7 @@ build-pkg: --build-arg "COMMIT=${GIT_SHORT_COMMIT}" \ --build-arg "VERSION=${VERSION}" \ --build-arg "OS_ARCH=${OS_ARCH}" \ - --build-arg "GOLANG_VERSION=1.14" \ + --build-arg "GOLANG_VERSION=1.16" \ --build-arg "TARGET=cli-${OS_ARCH}" \ -t arena-build:${VERSION}-${GIT_SHORT_COMMIT}-${OS_ARCH} -f Dockerfile.build . docker run -itd --name=arena-pkg arena-build:${VERSION}-${GIT_SHORT_COMMIT}-${OS_ARCH} /bin/bash diff --git a/go.mod b/go.mod index 4d191d321..dddb85838 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/kubeflow/arena -go 1.12 +go 1.16 require ( github.com/docker/docker v0.7.3-0.20190327010347-be7ac8be2ae0