From 50f2559dce05aea5fdf1f5326c2e641b6266133e Mon Sep 17 00:00:00 2001 From: wangshulin Date: Mon, 3 Apr 2023 20:44:18 +0800 Subject: [PATCH 1/2] update to golang1.18.10 in eacruntime and webhook Signed-off-by: wangshulin add comments Signed-off-by: wangshulin --- docker/Dockerfile.eacruntime | 4 +++- docker/Dockerfile.webhook | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile.eacruntime b/docker/Dockerfile.eacruntime index c48fd665a09..9c0e5688023 100644 --- a/docker/Dockerfile.eacruntime +++ b/docker/Dockerfile.eacruntime @@ -1,5 +1,7 @@ # Build the eacruntime-controller manager binary -FROM golang:1.18 AS builder + +# using golang:1.18.10 as builder +FROM golang:1.18@sha256:50c889275d26f816b5314fc99f55425fa76b18fcaf16af255f5d57f09e1f48da AS builder WORKDIR /go/src/github.com/fluid-cloudnative/fluid COPY . . diff --git a/docker/Dockerfile.webhook b/docker/Dockerfile.webhook index 4ce5ad612b4..8ece3319aac 100644 --- a/docker/Dockerfile.webhook +++ b/docker/Dockerfile.webhook @@ -1,5 +1,7 @@ -# Build the dataset-controller manager binary -FROM golang:1.18 AS builder +# Build the webhook binary + +# using golang:1.18.10 as builder +FROM golang:1.18@sha256:50c889275d26f816b5314fc99f55425fa76b18fcaf16af255f5d57f09e1f48da AS builder WORKDIR /go/src/github.com/fluid-cloudnative/fluid COPY . . From 47d0a857e1efd15237a30876748ec9c9a52ce75a Mon Sep 17 00:00:00 2001 From: wangshulin Date: Fri, 7 Apr 2023 19:28:32 +0800 Subject: [PATCH 2/2] update to golang1.18.10 Signed-off-by: wangshulin --- docker/Dockerfile.alluxioruntime | 4 +++- docker/Dockerfile.application | 4 +++- docker/Dockerfile.csi | 4 +++- docker/Dockerfile.dataset | 4 +++- docker/Dockerfile.goosefsruntime | 4 +++- docker/Dockerfile.jindoruntime | 4 +++- docker/Dockerfile.juicefsruntime | 4 +++- docker/Dockerfile.thinruntime | 4 +++- 8 files changed, 24 insertions(+), 8 deletions(-) diff --git a/docker/Dockerfile.alluxioruntime b/docker/Dockerfile.alluxioruntime index badfec04846..6c006cacb98 100644 --- a/docker/Dockerfile.alluxioruntime +++ b/docker/Dockerfile.alluxioruntime @@ -1,5 +1,7 @@ # Build the alluxioruntime-controller manager binary -FROM golang:1.18 AS builder + +# using golang:1.18.10 as builder +FROM golang:1.18@sha256:50c889275d26f816b5314fc99f55425fa76b18fcaf16af255f5d57f09e1f48da AS builder WORKDIR /go/src/github.com/fluid-cloudnative/fluid COPY . . diff --git a/docker/Dockerfile.application b/docker/Dockerfile.application index 5cea8bfc37a..b9e44ee1314 100644 --- a/docker/Dockerfile.application +++ b/docker/Dockerfile.application @@ -1,5 +1,7 @@ # Build the fluidapp-controller manager binary -FROM golang:1.18 AS builder + +# using golang:1.18.10 as builder +FROM golang:1.18@sha256:50c889275d26f816b5314fc99f55425fa76b18fcaf16af255f5d57f09e1f48da AS builder WORKDIR /go/src/github.com/fluid-cloudnative/fluid COPY . . diff --git a/docker/Dockerfile.csi b/docker/Dockerfile.csi index eb32f5e4191..22aacbe1b42 100644 --- a/docker/Dockerfile.csi +++ b/docker/Dockerfile.csi @@ -1,5 +1,7 @@ # Build the csi binary -FROM golang:1.18 AS builder + +# using golang:1.18.10 as builder +FROM golang:1.18@sha256:50c889275d26f816b5314fc99f55425fa76b18fcaf16af255f5d57f09e1f48da AS builder WORKDIR /go/src/github.com/fluid-cloudnative/fluid COPY . . diff --git a/docker/Dockerfile.dataset b/docker/Dockerfile.dataset index ef82fc17b9f..e8d32210479 100644 --- a/docker/Dockerfile.dataset +++ b/docker/Dockerfile.dataset @@ -1,5 +1,7 @@ # Build the dataset-controller manager binary -FROM golang:1.18 AS builder + +# using golang:1.18.10 as builder +FROM golang:1.18@sha256:50c889275d26f816b5314fc99f55425fa76b18fcaf16af255f5d57f09e1f48da AS builder WORKDIR /go/src/github.com/fluid-cloudnative/fluid COPY . . diff --git a/docker/Dockerfile.goosefsruntime b/docker/Dockerfile.goosefsruntime index d132aad77c9..7e5b598c1be 100644 --- a/docker/Dockerfile.goosefsruntime +++ b/docker/Dockerfile.goosefsruntime @@ -1,5 +1,7 @@ # Build the goosefsruntime-controller manager binary -FROM golang:1.18 AS builder + +# using golang:1.18.10 as builder +FROM golang:1.18@sha256:50c889275d26f816b5314fc99f55425fa76b18fcaf16af255f5d57f09e1f48da AS builder WORKDIR /go/src/github.com/fluid-cloudnative/fluid COPY . . diff --git a/docker/Dockerfile.jindoruntime b/docker/Dockerfile.jindoruntime index 070bf95b2fc..64669dcddcc 100644 --- a/docker/Dockerfile.jindoruntime +++ b/docker/Dockerfile.jindoruntime @@ -1,5 +1,7 @@ # Build the jindoruntime-controller manager binary -FROM golang:1.18 AS builder + +# using golang:1.18.10 as builder +FROM golang:1.18@sha256:50c889275d26f816b5314fc99f55425fa76b18fcaf16af255f5d57f09e1f48da AS builder WORKDIR /go/src/github.com/fluid-cloudnative/fluid COPY . . diff --git a/docker/Dockerfile.juicefsruntime b/docker/Dockerfile.juicefsruntime index c225108e5f0..2719fede581 100644 --- a/docker/Dockerfile.juicefsruntime +++ b/docker/Dockerfile.juicefsruntime @@ -1,5 +1,7 @@ # Build the juicefsruntime-controller manager binary -FROM golang:1.18 AS builder + +# using golang:1.18.10 as builder +FROM golang:1.18@sha256:50c889275d26f816b5314fc99f55425fa76b18fcaf16af255f5d57f09e1f48da AS builder WORKDIR /go/src/github.com/fluid-cloudnative/fluid COPY . . diff --git a/docker/Dockerfile.thinruntime b/docker/Dockerfile.thinruntime index da89d637655..e77d7acdb39 100644 --- a/docker/Dockerfile.thinruntime +++ b/docker/Dockerfile.thinruntime @@ -1,5 +1,7 @@ # Build the thinruntime-controller manager binary -FROM golang:1.18 AS builder + +# using golang:1.18.10 as builder +FROM golang:1.18@sha256:50c889275d26f816b5314fc99f55425fa76b18fcaf16af255f5d57f09e1f48da AS builder WORKDIR /go/src/github.com/fluid-cloudnative/fluid COPY . .