From 97d42139be35e07bc801c76cadfc9ee859079333 Mon Sep 17 00:00:00 2001 From: duanmengkk Date: Wed, 13 Mar 2024 15:25:09 +0800 Subject: [PATCH] use make update-go-verison to update go version in Dockerfile Signed-off-by: duanmengkk --- images/spiderpool-agent/Dockerfile | 2 +- images/spiderpool-base/Dockerfile | 2 +- images/spiderpool-controller/Dockerfile | 2 +- images/spiderpool-plugins/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/images/spiderpool-agent/Dockerfile b/images/spiderpool-agent/Dockerfile index 43e84948a1..2840ab9299 100644 --- a/images/spiderpool-agent/Dockerfile +++ b/images/spiderpool-agent/Dockerfile @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 ARG BASE_IMAGE=ghcr.io/spidernet-io/spiderpool/spiderpool-base:1f8330482d25b58d2ae26bc6252e20384bac92ad -ARG GOLANG_IMAGE=docker.io/library/golang:1.20@sha256:f69d47fedd3b2ebd23bcf473c0b78522ebbc1823f06b7d47f45f04a30bdc901d +ARG GOLANG_IMAGE=docker.io/library/golang:1.21.4@sha256:9baee0edab4139ae9b108fffabb8e2e98a67f0b259fd25283c2a084bd74fea0d #======= build bin ========== FROM --platform=${BUILDPLATFORM} ${GOLANG_IMAGE} as builder diff --git a/images/spiderpool-base/Dockerfile b/images/spiderpool-base/Dockerfile index 05f4dc71cf..94a9435f7f 100644 --- a/images/spiderpool-base/Dockerfile +++ b/images/spiderpool-base/Dockerfile @@ -3,7 +3,7 @@ # docker buildx build -t testbase:latest --platform=linux/arm64,linux/amd64 --output type=docker . -ARG GOLANG_IMAGE=docker.io/library/golang:1.20@sha256:f69d47fedd3b2ebd23bcf473c0b78522ebbc1823f06b7d47f45f04a30bdc901d +ARG GOLANG_IMAGE=docker.io/library/golang:1.21.4@sha256:9baee0edab4139ae9b108fffabb8e2e98a67f0b259fd25283c2a084bd74fea0d ARG UBUNTU_IMAGE=docker.io/library/ubuntu:20.04@sha256:bea6d19168bbfd6af8d77c2cc3c572114eb5d113e6f422573c93cb605a0e2ffb diff --git a/images/spiderpool-controller/Dockerfile b/images/spiderpool-controller/Dockerfile index bb2e0875a0..b4bf6e5b85 100644 --- a/images/spiderpool-controller/Dockerfile +++ b/images/spiderpool-controller/Dockerfile @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 ARG BASE_IMAGE=ghcr.io/spidernet-io/spiderpool/spiderpool-base:1f8330482d25b58d2ae26bc6252e20384bac92ad -ARG GOLANG_IMAGE=docker.io/library/golang:1.20@sha256:f69d47fedd3b2ebd23bcf473c0b78522ebbc1823f06b7d47f45f04a30bdc901d +ARG GOLANG_IMAGE=docker.io/library/golang:1.21.4@sha256:9baee0edab4139ae9b108fffabb8e2e98a67f0b259fd25283c2a084bd74fea0d #======= build bin ========== FROM --platform=${BUILDPLATFORM} ${GOLANG_IMAGE} as builder diff --git a/images/spiderpool-plugins/Dockerfile b/images/spiderpool-plugins/Dockerfile index 9fa7d2e982..5a98e66806 100644 --- a/images/spiderpool-plugins/Dockerfile +++ b/images/spiderpool-plugins/Dockerfile @@ -1,7 +1,7 @@ # Copyright 2023 Authors of spidernet-io # SPDX-License-Identifier: Apache-2.0 -ARG GOLANG_IMAGE=docker.io/library/golang:1.20@sha256:f69d47fedd3b2ebd23bcf473c0b78522ebbc1823f06b7d47f45f04a30bdc901d +ARG GOLANG_IMAGE=docker.io/library/golang:1.21.4@sha256:9baee0edab4139ae9b108fffabb8e2e98a67f0b259fd25283c2a084bd74fea0d #======= build plugins ========== FROM --platform=${BUILDPLATFORM} ${GOLANG_IMAGE} as builder