diff --git a/Dockerfile b/Dockerfile index 3f24a9d..1879173 100644 --- a/Dockerfile +++ b/Dockerfile @@ -73,5 +73,7 @@ RUN version="${VERSION:-$(git describe --tags --always)}"; \ RUN ldd /mfer 2>&1 | grep -q 'not a dynamic executable' FROM scratch +# scratch has no CA certificates; fetch needs them to verify HTTPS servers. +COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=builder /mfer /mfer ENTRYPOINT ["/mfer"]