From b0bf7640058c577aa63f33ab06d7ff42d895c941 Mon Sep 17 00:00:00 2001 From: Olivier Cazade Date: Tue, 11 Feb 2025 14:27:06 +0100 Subject: [PATCH] Fixing konflux security violations (#723) * Adding user in Dockerfile * Adding License file --- Dockerfile.downstream | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile.downstream b/Dockerfile.downstream index 396c3772d..af935b438 100644 --- a/Dockerfile.downstream +++ b/Dockerfile.downstream @@ -24,6 +24,10 @@ FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5-1738816775 COPY --from=web-builder /opt/app-root/web/dist ./web/dist COPY --from=go-builder /opt/app-root/plugin-backend ./ +USER 65532:65532 + +COPY LICENSE /licenses/ + ENTRYPOINT ["./plugin-backend"] LABEL com.redhat.component="network-observability-console-plugin-container"