Skip to content

Commit 772eadc

Browse files
committed
fix(konflux): add licenses to the final image
1 parent 3968fc2 commit 772eadc

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Containerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,6 @@ FROM registry.access.redhat.com/ubi9/ubi-micro:latest
2424

2525
COPY --from=builder /app/fact /usr/local/bin
2626

27+
COPY LICENSE-APACHE LICENSE-MIT LICENSE-GPL2 /licenses/
28+
2729
ENTRYPOINT ["fact"]

konflux.Containerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,6 @@ LABEL \
4141

4242
COPY --from=builder /app/target/release/fact /usr/local/bin
4343

44+
COPY LICENSE-APACHE LICENSE-MIT LICENSE-GPL2 /licenses/
45+
4446
ENTRYPOINT ["fact"]

0 commit comments

Comments
 (0)