Add SSL CA Certificates to the image to allow access to S3 Buckets with active HTTPS

This commit is contained in:
Alexander Lauster 2019-06-23 13:03:31 +02:00
parent 9355bab9d4
commit 818e5bc444

View file

@ -18,6 +18,7 @@ FROM scratch AS final
LABEL maintainer="Andrea Spacca <andrea.spacca@gmail.com>" LABEL maintainer="Andrea Spacca <andrea.spacca@gmail.com>"
COPY --from=build /go/bin/transfersh /go/bin/transfersh COPY --from=build /go/bin/transfersh /go/bin/transfersh
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
ENTRYPOINT ["/go/bin/transfersh", "--listener", ":8080"] ENTRYPOINT ["/go/bin/transfersh", "--listener", ":8080"]