diff --git a/Dockerfile b/Dockerfile index 9ba9180..41de641 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]