From e42a605597335507c71ac038f51a775df2775ebd Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 2 Mar 2024 11:48:14 +0100 Subject: [PATCH] fix: add root ca to final docker image Since Vikunja's docker image is now based on the scratch image, the root ca certificates are not included by default anymore. This meant Vikunja could not check if the certificate presented by a remote host was valid, thus failing the connection. This meant it was impossible to use features communicating with external hosts such as webhooks, openid auth or gravatar. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 394aac94c..1705b4d16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,3 +44,4 @@ ENV VIKUNJA_SERVICE_ROOTPATH=/app/vikunja/ ENV VIKUNJA_DATABASE_PATH=/db/vikunja.db COPY --from=apibuilder /build/vikunja-* vikunja +COPY --from=apibuilder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/