Skip to content

Commit 28aed5a

Browse files
committed
put LIBPATH in dockerfile, try using /bin/bash in place of /bin/sh to see if jenkins crash happens
1 parent 86ff461 commit 28aed5a

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ PLEX_INSTALL="https://plex.tv/downloads/latest/1?channel=8&build=linux-ubuntu-x8
99
PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/config/Library/Application Support" \
1010
PLEX_MEDIA_SERVER_HOME="/usr/lib/plexmediaserver" \
1111
PLEX_MEDIA_SERVER_INFO_DEVICE=docker \
12-
PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS="6"
12+
PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS="6" \
13+
LD_LIBRARY_PATH="/usr/lib/plexmediaserver:$LD_LIBRARY_PATH"
1314

1415
# install packages
1516
RUN \

root/etc/services.d/plex/run

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/with-contenv bash
22

33
echo "Starting Plex Media Server."
4-
exec s6-setuidgid abc /bin/sh -c 'LD_LIBRARY_PATH=/usr/lib/plexmediaserver /usr/lib/plexmediaserver/Plex\ Media\ Server'
4+
exec \
5+
s6-setuidgid abc /bin/bash -c \
6+
'/usr/lib/plexmediaserver/Plex\ Media\ Server'
57

68

0 commit comments

Comments
 (0)