put LIBPATH in dockerfile, try using /bin/bash in place of /bin/sh to see if jenkins crash happens
This commit is contained in:
parent
86ff461b42
commit
28aed5a071
2 changed files with 5 additions and 2 deletions
|
|
@ -9,7 +9,8 @@ PLEX_INSTALL="https://plex.tv/downloads/latest/1?channel=8&build=linux-ubuntu-x8
|
||||||
PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/config/Library/Application Support" \
|
PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/config/Library/Application Support" \
|
||||||
PLEX_MEDIA_SERVER_HOME="/usr/lib/plexmediaserver" \
|
PLEX_MEDIA_SERVER_HOME="/usr/lib/plexmediaserver" \
|
||||||
PLEX_MEDIA_SERVER_INFO_DEVICE=docker \
|
PLEX_MEDIA_SERVER_INFO_DEVICE=docker \
|
||||||
PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS="6"
|
PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS="6" \
|
||||||
|
LD_LIBRARY_PATH="/usr/lib/plexmediaserver:$LD_LIBRARY_PATH"
|
||||||
|
|
||||||
# install packages
|
# install packages
|
||||||
RUN \
|
RUN \
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
echo "Starting Plex Media Server."
|
echo "Starting Plex Media Server."
|
||||||
exec s6-setuidgid abc /bin/sh -c 'LD_LIBRARY_PATH=/usr/lib/plexmediaserver /usr/lib/plexmediaserver/Plex\ Media\ Server'
|
exec \
|
||||||
|
s6-setuidgid abc /bin/bash -c \
|
||||||
|
'/usr/lib/plexmediaserver/Plex\ Media\ Server'
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue