From 7118ac6375812291c9846d64a05048a93d9f5bf3 Mon Sep 17 00:00:00 2001 From: Krishna Harsha Voora Date: Fri, 31 May 2024 23:26:29 +0530 Subject: [PATCH] Fixes #6 This PR fixes #6, addressing the CrashLoopBackOff on perfApp pods Signed-off-by: Krishna Harsha Voora --- perfapp/Containerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/perfapp/Containerfile b/perfapp/Containerfile index 1fd38a6..9ddb323 100644 --- a/perfapp/Containerfile +++ b/perfapp/Containerfile @@ -1,8 +1,7 @@ FROM registry.access.redhat.com/ubi8/ubi:latest as builder -ARG TARGETARCH RUN dnf clean all && dnf install -y golang COPY . /perfApp -RUN cd perfApp && GOARCH=${TARGETARCH} CGO_ENABLED=0 go build -o perfApp cmd/perfApp/perfApp.go +RUN cd perfApp && CGO_ENABLED=0 go build -o perfApp cmd/perfApp/perfApp.go FROM registry.access.redhat.com/ubi9/ubi-minimal:latest MAINTAINER Raúl Sevilla