From ef40cfe0e88a08b02e93f940c013d77cdd23a9c5 Mon Sep 17 00:00:00 2001 From: Luiz Carvalho Date: Mon, 18 Dec 2023 15:23:43 -0500 Subject: [PATCH] Use official golang image Signed-off-by: Luiz Carvalho --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index b1d777d..78f7e83 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,5 @@ # Build the manager binary -# FROM docker.io/library/golang:1.23@sha256:098d628490c97d4419ed44a23d893f37b764f3bea06e0827183e8af4120e19be as builder -# Currently, there is no official container image for Go 1.24. As a workaround, we start with the -# generic Fedora image and install Go in it. -FROM registry.fedoraproject.org/fedora-minimal:latest@sha256:f34c3b3aa56c88b153c747f32592ff37ece4606951291a7ddc507778d207f21c as builder -RUN microdnf install -y golang +FROM docker.io/library/golang:1.21@sha256:2ff79bcdaff74368a9fdcb06f6599e54a71caf520fd2357a55feddd504bcaffb as builder WORKDIR /workspace # Copy the Go Modules manifests