From d8a1c5332b32c4044dd694833d13925ad98c6724 Mon Sep 17 00:00:00 2001 From: Cory Forsstrom Date: Wed, 26 Feb 2020 15:03:11 -0800 Subject: [PATCH] add cert to gnutls known_host file --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index f368562..ad0d2e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,9 +30,10 @@ RUN apk add vlc RUN sed -i 's/geteuid/getppid/' /usr/bin/vlc # Add SSL certs for lazystream -RUN openssl s_client -showcerts -connect freegamez.ga:443 /dev/null|openssl x509 -outform PEM > /etc/ssl/certs/mf.svc.nhl.com.pem -RUN openssl s_client -showcerts -connect freegamez.ga:443 /dev/null|openssl x509 -outform PEM > /etc/ssl/certs/playback.svcs.mlb.com.pem -RUN openssl s_client -showcerts -connect freegamez.ga:443 /dev/null|openssl x509 -outform PEM > /etc/ssl/certs/mlb-ws-mf.media.mlb.com.pem +RUN apk add --no-cache gnutls-utils +RUN printf 'y\n' | gnutls-cli --tofu playback.svcs.mlb.com:443 +RUN printf 'y\n' | gnutls-cli --tofu mf.svc.nhl.com:443 +RUN printf 'y\n' | gnutls-cli --tofu mlb-ws-mf.media.mlb.com:443 # Add xTeve and guide2go RUN wget https://github.com/xteve-project/xTeVe-Downloads/raw/master/xteve_linux_amd64.zip -O temp.zip; unzip temp.zip -d /usr/bin/; rm temp.zip @@ -56,4 +57,4 @@ RUN chmod +x /usr/bin/guide2go EXPOSE 34400 # Entrypoint -ENTRYPOINT ["./entrypoint.sh"] \ No newline at end of file +ENTRYPOINT ["./entrypoint.sh"]