[DOCKER] Export SSL certs (#1163)
Fixes a common issue with downloading channel thumbnails and fanart.
This commit is contained in:
parent
f1db01bf2f
commit
2b1e74bc8e
3 changed files with 11 additions and 5 deletions
|
|
@ -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 && \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue