From 3dd6bec66b28d97261c945c5c40797b14d3ef734 Mon Sep 17 00:00:00 2001 From: David McWhorter <105815369+dmcwhorter-ddl@users.noreply.github.com> Date: Tue, 2 Jan 2024 12:34:47 -0500 Subject: [PATCH] use golang:1.20-bookworm as it tracks the latest go 1.20 release (#47) --- executor/Dockerfile.executor | 3 ++- executor/Dockerfile.executor.redhat | 2 +- operator/Dockerfile | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/executor/Dockerfile.executor b/executor/Dockerfile.executor index 37bfe0bd18..acd7f97f8e 100644 --- a/executor/Dockerfile.executor +++ b/executor/Dockerfile.executor @@ -1,5 +1,6 @@ # Build the manager binary -FROM golang:1.20.10-bookworm as builder +# 1.20-bookworm image points to the latest go 1.20.x +FROM golang:1.20-bookworm as builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/executor/Dockerfile.executor.redhat b/executor/Dockerfile.executor.redhat index 7b10ef564b..86c4b860a6 100644 --- a/executor/Dockerfile.executor.redhat +++ b/executor/Dockerfile.executor.redhat @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.20.10-bookworm as builder +FROM golang:1.17.13-buster as builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/operator/Dockerfile b/operator/Dockerfile index d01b843ff9..dc203033e4 100644 --- a/operator/Dockerfile +++ b/operator/Dockerfile @@ -1,5 +1,6 @@ # Build the manager binary -FROM golang:1.20.10-bookworm as builder +# 1.20-bookworm image points to the latest go 1.20.x +FROM golang:1.20-bookworm as builder WORKDIR /workspace # Copy the Go Modules manifests