diff --git a/openshift/ci-operator/static-images/dispatcher/Dockerfile b/openshift/ci-operator/static-images/dispatcher/Dockerfile index de88d80660..db7c45390c 100644 --- a/openshift/ci-operator/static-images/dispatcher/Dockerfile +++ b/openshift/ci-operator/static-images/dispatcher/Dockerfile @@ -45,5 +45,6 @@ FROM registry.access.redhat.com/ubi8/openjdk-21-runtime as running USER 185 COPY --from=builder /app /app +COPY LICENSE /licenses/ ENTRYPOINT ["java", "-jar", "/app/app.jar"] diff --git a/openshift/ci-operator/static-images/dispatcher/hermetic/Dockerfile b/openshift/ci-operator/static-images/dispatcher/hermetic/Dockerfile index 59f14c8b56..122316464e 100644 --- a/openshift/ci-operator/static-images/dispatcher/hermetic/Dockerfile +++ b/openshift/ci-operator/static-images/dispatcher/hermetic/Dockerfile @@ -51,5 +51,6 @@ LABEL \ io.openshift.tags=dispatcher COPY --from=builder /app /app +COPY LICENSE /licenses/ ENTRYPOINT ["java", "-jar", "/app/app.jar"] diff --git a/openshift/ci-operator/static-images/receiver/Dockerfile b/openshift/ci-operator/static-images/receiver/Dockerfile index 084444eef1..6c6684cc01 100644 --- a/openshift/ci-operator/static-images/receiver/Dockerfile +++ b/openshift/ci-operator/static-images/receiver/Dockerfile @@ -47,5 +47,6 @@ FROM registry.access.redhat.com/ubi8/openjdk-21-runtime as running USER 185 COPY --from=builder /app /app +COPY LICENSE /licenses/ ENTRYPOINT ["java", "-jar", "/app/app.jar"] diff --git a/openshift/ci-operator/static-images/receiver/hermetic/Dockerfile b/openshift/ci-operator/static-images/receiver/hermetic/Dockerfile index c48f2ad6e5..99894032e5 100644 --- a/openshift/ci-operator/static-images/receiver/hermetic/Dockerfile +++ b/openshift/ci-operator/static-images/receiver/hermetic/Dockerfile @@ -51,5 +51,6 @@ LABEL \ io.openshift.tags=receiver COPY --from=builder /app /app +COPY LICENSE /licenses/ ENTRYPOINT ["java", "-jar", "/app/app.jar"]