From 275bc6f6d8551adae286d4be4d23f59e801bd070 Mon Sep 17 00:00:00 2001 From: Carlo Lobrano Date: Wed, 5 Jul 2023 14:27:43 +0200 Subject: [PATCH] Dockerfile improvements - reduce image package size cleaning up temporary files kept for repositories. closes: https://issues.redhat.com/browse/ECOPROJECT-1417 Signed-off-by: Carlo Lobrano --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b2bac207..7c7d22cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Build the manager binary FROM quay.io/centos/centos:stream8 AS builder -RUN yum install golang -y +RUN yum install golang -y && yum clean all # Ensure correct Go version ENV GO_VERSION=1.20