From 9844784d7fd044f0e59e8a95acb541c983106cfa Mon Sep 17 00:00:00 2001 From: razo7 Date: Mon, 20 Mar 2023 16:31:21 +0200 Subject: [PATCH] Install git on Dockerfile Git will be used in hack/build.sh to get the git commit and operator's version --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b97cecb0..19941b2c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Build the manager binary FROM quay.io/centos/centos:stream8 AS builder -RUN dnf install golang -y +RUN dnf install git golang -y # Ensure correct Go version ENV GO_VERSION=1.18