Give the image CA certificates so fetch works over HTTPS (closes #131) #133

Merged
clawbot merged 1 commits from issue-131-ca-certificates into next 2026-10-04 10:31:55 +02:00
Showing only changes of commit 3bfe43bc6c - Show all commits
+2
View File
@@ -73,5 +73,7 @@ RUN version="${VERSION:-$(git describe --tags --always)}"; \
RUN ldd /mfer 2>&1 | grep -q 'not a dynamic executable' RUN ldd /mfer 2>&1 | grep -q 'not a dynamic executable'
FROM scratch 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 COPY --from=builder /mfer /mfer
ENTRYPOINT ["/mfer"] ENTRYPOINT ["/mfer"]