From 776aba79c2708b1bd05d5ff3730b84929c5c4bb1 Mon Sep 17 00:00:00 2001 From: Ciaran Roche Date: Fri, 15 May 2026 12:46:02 +0100 Subject: [PATCH] HYPERFLEET-1094 - ci: add /licenses to container image Co-Authored-By: Claude --- .dockerignore | 3 +-- Dockerfile | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index 57f495f1..7a07ca42 100644 --- a/.dockerignore +++ b/.dockerignore @@ -35,8 +35,7 @@ chart/ charts/ deployments/ -# License and owners -LICENSE +# Owners OWNERS CONTRIBUTING.md diff --git a/Dockerfile b/Dockerfile index 6a103e9f..fb3028c6 100755 --- a/Dockerfile +++ b/Dockerfile @@ -43,6 +43,7 @@ WORKDIR /app # ubi9-micro doesn't include CA certificates; copy from builder for TLS (e.g. Google Pub/Sub) COPY --from=builder /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem COPY --from=builder /build/bin/hyperfleet-api /app/hyperfleet-api +COPY --from=builder /build/LICENSE /licenses/LICENSE USER 65532:65532