Skip to content

Commit

Permalink
[DOCKER] Export SSL certs (#1163)
Browse files Browse the repository at this point in the history
Fixes a common issue with downloading channel thumbnails and fanart.
  • Loading branch information
jmbannon authored Jan 27, 2025
1 parent f1db01b commit 2b1e74b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 3 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
6 changes: 4 additions & 2 deletions docker/Dockerfile.gui
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 4 additions & 2 deletions docker/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2b1e74b

Please sign in to comment.