Closed merberich closed 3 years ago
Apparently the SSL certificates have changed since this project started, which causes Docker builds to fail when grabbing youtube-dl. Making the following change allows build to complete successfully.
youtube-dl
--- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,8 @@ RUN apk add --no-cache git vim build-base wget # https://github.com/rg3/youtube-dl RUN set -x \ && apk add --no-cache ca-certificates curl ffmpeg python gnupg \ + && curl --remote-name --time-cond cacert.pem https://curl.haxx.se/ca/cacert.pem \ + && export SSL_CERT_FILE=cacert.pem \ && curl -Lo /usr/local/bin/youtube-dl https://yt-dl.org/downloads/latest/youtube-dl \ && curl -Lo youtube-dl.sig https://yt-dl.org/downloads/latest/youtube-dl.sig \ && gpg --keyserver keyserver.ubuntu.com --recv-keys '7D33D762FD6C35130481347FDB4B54CBA4826A18' \
Thanks for reporting and providing the solution! I'll commit the fix.
Apparently the SSL certificates have changed since this project started, which causes Docker builds to fail when grabbing
youtube-dl
. Making the following change allows build to complete successfully.