Skip to content

Commit

Permalink
Merge pull request #261 from RedHatInsights/certs_in_final_image
Browse files Browse the repository at this point in the history
Copy certificate authorities in final image
  • Loading branch information
joselsegura authored Sep 20, 2023
2 parents 089956e + e494cc9 commit 68f7108
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ FROM registry.access.redhat.com/ubi8/ubi-micro:latest

COPY --from=builder /opt/app-root/src/insights-results-aggregator-cleaner .

USER 1001

# RUN curl -L -o /usr/bin/haberdasher \
# https://github.com/RedHatInsights/haberdasher/releases/download/v0.1.3/haberdasher_linux_amd64 && \
# chmod 755 /usr/bin/haberdasher
# copy the certificates from builder image
COPY --from=builder /etc/ssl /etc/ssl
COPY --from=builder /etc/pki /etc/pki

USER 1001

# ENTRYPOINT ["/usr/bin/haberdasher"]
CMD ["/insights-results-aggregator-cleaner"]

0 comments on commit 68f7108

Please sign in to comment.