File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM lsiobase/xenial
22MAINTAINER Stian Larsen, sparklyballs
33
4- # package version
5- ENV PLEX_INSTALL="https://plex.tv/downloads/latest/1?channel=8&build=linux-ubuntu-x86_64&distro=ubuntu"
64
75# global environment settings
86ENV DEBIAN_FRONTEND="noninteractive" \
97PLEX_DOWNLOAD="https://downloads.plex.tv/plex-media-server" \
8+ PLEX_INSTALL="https://plex.tv/downloads/latest/1?channel=8&build=linux-ubuntu-x86_64&distro=ubuntu" \
109PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/config/Library/Application Support" \
1110PLEX_MEDIA_SERVER_HOME="/usr/lib/plexmediaserver" \
11+ PLEX_MEDIA_SERVER_INFO_DEVICE=docker \
1212PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS="6"
1313
1414# install packages
Original file line number Diff line number Diff line change 44if [ ! -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" ]; then
55 mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"
66 chown abc:abc "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"
7- elif [ ! "$(stat -c %u ${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR})" = "$PUID" ]; then
7+ elif [ ! "$(stat -c %u " ${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" )" = "$PUID" ]; then
88 echo "Change in ownership detected, please be patient while we chown existing files"
99 echo "This could take some time"
1010 chown abc:abc -R \
You can’t perform that action at this time.
0 commit comments