Skip to content

Commit

Permalink
Merge pull request #45 from sp3nx0r/add-ca-certificates-to-image
Browse files Browse the repository at this point in the history
  • Loading branch information
0x46616c6b authored Sep 15, 2022
2 parents 0153a19 + d5722c9 commit fd28bf3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ RUN adduser \
--uid "${UID}" \
"${USER}"

RUN apk add --no-cache ca-certificates

FROM scratch

COPY --from=builder /etc/passwd /etc/passwd
COPY --from=builder /etc/group /etc/group
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs
COPY prometheus-onion-service-exporter /prometheus-onion-service-exporter

USER appuser:appuser
Expand Down

0 comments on commit fd28bf3

Please sign in to comment.