Skip to content

Commit

Permalink
Add LICENSE file to Java static-images (#1362)
Browse files Browse the repository at this point in the history
Co-authored-by: Christoph Stäbler <cstabler@redhat.com>
  • Loading branch information
openshift-cherrypick-robot and creydr authored Nov 22, 2024
1 parent 993cdb4 commit 353a547
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions openshift/ci-operator/static-images/dispatcher/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@ LABEL \
io.openshift.tags=dispatcher

COPY --from=builder /app /app
COPY LICENSE /licenses/

ENTRYPOINT ["java", "-jar", "/app/app.jar"]
1 change: 1 addition & 0 deletions openshift/ci-operator/static-images/receiver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,6 @@ LABEL \
io.openshift.tags=receiver

COPY --from=builder /app /app
COPY LICENSE /licenses/

ENTRYPOINT ["java", "-jar", "/app/app.jar"]

0 comments on commit 353a547

Please sign in to comment.