Skip to content

Commit 92e1f63

Browse files
authored
Merge pull request #136 from linuxserver/rebase_ubuntu_bionic
rebase to ubuntu bionic, add udev package
2 parents f145f3d + 44b6bd2 commit 92e1f63

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM lsiobase/ubuntu:xenial
1+
FROM lsiobase/ubuntu:bionic
22

33
# set version label
44
ARG BUILD_DATE
55
ARG VERSION
66
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
7-
LABEL maintainer="stian larsen,sparklyballs"
7+
LABEL maintainer="sparklyballs"
88

99
# global environment settings
1010
ENV DEBIAN_FRONTEND="noninteractive" \
@@ -17,19 +17,20 @@ PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS="6" \
1717
PLEX_MEDIA_SERVER_USER=abc
1818

1919
RUN \
20-
echo "**** install packages ****" && \
20+
echo "**** install runtime packages ****" && \
2121
apt-get update && \
2222
apt-get install -y \
2323
avahi-daemon \
2424
dbus \
25+
udev \
2526
unrar \
2627
wget && \
2728
echo "**** install plex ****" && \
2829
curl -o \
29-
/tmp/plexmediaserver.deb -L \
30+
/tmp/plexmediaserver.deb -L \
3031
"${PLEX_INSTALL}" && \
3132
dpkg -i /tmp/plexmediaserver.deb && \
32-
echo "**** change abc home folder to fix plex hanging at runtime with usermod ****" && \
33+
echo "**** ensure abc user's home folder is /app ****" && \
3334
usermod -d /app abc && \
3435
echo "**** cleanup ****" && \
3536
apt-get clean && \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ To upgrade to the latest version (see setting up application section) : `docker
108108

109109
## Versions
110110

111+
+ **07.09.18:** Rebase to ubuntu bionic, add udev package.
111112
+ **09.12.17:** Fix continuation lines.
112113
+ **12.07.17:** Add inspect commands to README, move to jenkins build and push.
113114
+ **28.05.17:** Add unrar package as per requests, for subzero plugin.

root/etc/cont-init.d/50-plex-update

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ cat > "${UPGRADE_FAIL}" <<-EOFFAIL
4040
EOFFAIL
4141

4242
# test for no version set or opt out for autoupdates
43-
if [[ -z "$VERSION" ]] || [[ "$VERSION" == "0" ]] || [[ ! -z "$ADVANCED_DISABLEUPDATES" ]]; then
43+
if [[ -z "$VERSION" ]] || [[ "$VERSION" == "0" ]] || [[ -n "$ADVANCED_DISABLEUPDATES" ]]; then
4444
printf '\n\n\n%s\n\n\n' "$(</tmp/no-version.nfo)"
4545
exit 0
4646
fi

0 commit comments

Comments
 (0)