[DOCKER] Export SSL certs (#1163)

Fixes a common issue with downloading channel thumbnails and fanart.
This commit is contained in:
Jesse Bannon 2025-01-26 21:07:54 -08:00 committed by GitHub
parent f1db01bf2f
commit 2b1e74bc8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 5 deletions

View file

@ -3,8 +3,10 @@ FROM ghcr.io/linuxserver/baseimage-alpine:edge
###############################################################################
# YTDL-SUB INSTALL
# Needed for phantomjs
# For phantomjs
ENV OPENSSL_CONF="/etc/ssl"
# For downloading thumbnails
ENV SSL_CERT_DIR="/etc/ssl/certs/"
COPY root/ /
RUN mkdir -p /config && \

View file

@ -1,7 +1,9 @@
FROM lscr.io/linuxserver/code-server:4.18.0-ls181
# Needed for phantomjs
ENV OPENSSL_CONF=/etc/ssl
# For phantomjs
ENV OPENSSL_CONF="/etc/ssl"
# For downloading thumbnails
ENV SSL_CERT_DIR="/etc/ssl/certs/"
###############################################################################
# YTDL-SUB INSTALL

View file

@ -3,8 +3,10 @@ FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy
# https://askubuntu.com/questions/972516/debian-frontend-environment-variable
ARG DEBIAN_FRONTEND=noninteractive
# Needed for phantomjs
ENV OPENSSL_CONF=/etc/ssl
# For phantomjs
ENV OPENSSL_CONF="/etc/ssl"
# For downloading thumbnails
ENV SSL_CERT_DIR="/etc/ssl/certs/"
###############################################################################
# YTDL-SUB INSTALL