mirror of
https://github.com/spritsail/plex-media-server.git
synced 2024-12-20 11:34:36 +00:00
Fix missing curl/libssl ca-certificates
Before: root@b054d9b406bf /u/l/plexmediaserver> curl https://spritsail.io -I curl: (77) error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none After: root@7571fd092ba1 /u/l/plexmediaserver> curl https://spritsail.io -I HTTP/1.1 200 OK Server: nginx/1.17.10 Date: Tue, 12 May 2020 09:38:09 GMT Content-Type: text/html Content-Length: 8158 Last-Modified: Fri, 01 Feb 2019 20:18:29 GMT Connection: keep-alive ETag: 5c54a995-1fde Strict-Transport-Security: max-age=63072000; includeSubDomains; preload X-Content-Type-Options: nosniff X-Frame-Options: DENY Accept-Ranges: bytes Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
parent
8762491a4f
commit
fbc903e920
@ -152,7 +152,9 @@ RUN git clone https://github.com/curl/curl.git --branch $CURL_VER --depth 1 . \
|
|||||||
|
|
||||||
WORKDIR $PREFIX
|
WORKDIR $PREFIX
|
||||||
|
|
||||||
RUN mkdir -p /output/usr/lib /output/usr/bin \
|
RUN mkdir -p /output/usr/lib /output/usr/bin /output/etc/ssl/certs \
|
||||||
|
# Link Plex ca-certificates as system store so curl and others can use them too
|
||||||
|
&& ln -sv /usr/lib/plexmediaserver/Resources/cacert.pem /output/etc/ssl/certs/ca-certificates.crt \
|
||||||
&& mv usr/lib/*.so* \
|
&& mv usr/lib/*.so* \
|
||||||
/plex/usr/lib/* \
|
/plex/usr/lib/* \
|
||||||
/output/usr/lib \
|
/output/usr/lib \
|
||||||
|
Loading…
Reference in New Issue
Block a user