Skip to content

Commit

Permalink
Copy certificate authorities in final image
Browse files Browse the repository at this point in the history
  • Loading branch information
joselsegura committed Sep 20, 2023
1 parent 089956e commit e494cc9
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 e494cc9

Please sign in to comment.