Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

Commit f214108

Browse files
authored
Merge pull request #39 from deadc/fix-x509-error
fix(Dockerfile) add ca-certificates
2 parents 5d0da72 + de244f8 commit f214108

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ RUN chmod +x /usr/bin/volume-syncing-controller && chown root:root /usr/bin/volu
2424
# =========================
2525
FROM scratch
2626

27+
# copy ca-certificates to work with some apis
28+
COPY --from=rcloneSrc /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
2729
# copy a versioned artifact from official released image
2830
COPY --from=rcloneSrc /usr/local/bin/rclone /usr/bin/rclone
2931
# copy already built artifact by CI

0 commit comments

Comments
 (0)