From 9bd05ab5b33e0a63f6dc690a06fbd0717f7df51e Mon Sep 17 00:00:00 2001 From: Homaja Marisetty Date: Wed, 20 Mar 2024 12:25:43 -0400 Subject: [PATCH] fix(RHTAPWATCH-818): Fix License and user EC errors Move LICENSE file to licenses directory and add user in Dockerfile to resolve EC errors. Signed-off-by: Homaja Marisetty --- Dockerfile | 1 + LICENSE => licenses/LICENSE | 0 2 files changed, 1 insertion(+) rename LICENSE => licenses/LICENSE (100%) diff --git a/Dockerfile b/Dockerfile index a46f0fa..abcb351 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,6 +28,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -o /o FROM registry.access.redhat.com/ubi9-micro@sha256:8e33df2832f039b4b1adc53efd783f9404449994b46ae321ee4a0bf4499d5c42 WORKDIR / COPY --from=builder /opt/app-root/manager . +USER 65532:65532 # It is mandatory to set these labels LABEL name="Konflux Project Controller" diff --git a/LICENSE b/licenses/LICENSE similarity index 100% rename from LICENSE rename to licenses/LICENSE