From de244f8517c3fa0ab2a0fc46b0f74ae74087728a Mon Sep 17 00:00:00 2001 From: Thiago Freitas Date: Sun, 27 Nov 2022 01:31:53 -0300 Subject: [PATCH] fix(Dockerfile) add ca-certificates --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index b5d33b0..41769b1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,6 +24,8 @@ RUN chmod +x /usr/bin/volume-syncing-controller && chown root:root /usr/bin/volu # ========================= FROM scratch +# copy ca-certificates to work with some apis +COPY --from=rcloneSrc /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ # copy a versioned artifact from official released image COPY --from=rcloneSrc /usr/local/bin/rclone /usr/bin/rclone # copy already built artifact by CI