Merge pull request #136 from linuxserver/rebase_ubuntu_bionic

rebase to ubuntu bionic, add udev package
pull/138/head 164
sparklyballs 6 years ago committed by GitHub
commit 92e1f63d5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,10 +1,10 @@
FROM lsiobase/ubuntu:xenial FROM lsiobase/ubuntu:bionic
# set version label # set version label
ARG BUILD_DATE ARG BUILD_DATE
ARG VERSION ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="stian larsen,sparklyballs" LABEL maintainer="sparklyballs"
# global environment settings # global environment settings
ENV DEBIAN_FRONTEND="noninteractive" \ ENV DEBIAN_FRONTEND="noninteractive" \
@ -17,19 +17,20 @@ PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS="6" \
PLEX_MEDIA_SERVER_USER=abc PLEX_MEDIA_SERVER_USER=abc
RUN \ RUN \
echo "**** install packages ****" && \ echo "**** install runtime packages ****" && \
apt-get update && \ apt-get update && \
apt-get install -y \ apt-get install -y \
avahi-daemon \ avahi-daemon \
dbus \ dbus \
udev \
unrar \ unrar \
wget && \ wget && \
echo "**** install plex ****" && \ echo "**** install plex ****" && \
curl -o \ curl -o \
/tmp/plexmediaserver.deb -L \ /tmp/plexmediaserver.deb -L \
"${PLEX_INSTALL}" && \ "${PLEX_INSTALL}" && \
dpkg -i /tmp/plexmediaserver.deb && \ dpkg -i /tmp/plexmediaserver.deb && \
echo "**** change abc home folder to fix plex hanging at runtime with usermod ****" && \ echo "**** ensure abc user's home folder is /app ****" && \
usermod -d /app abc && \ usermod -d /app abc && \
echo "**** cleanup ****" && \ echo "**** cleanup ****" && \
apt-get clean && \ apt-get clean && \

@ -108,6 +108,7 @@ To upgrade to the latest version (see setting up application section) : `docker
## Versions ## Versions
+ **07.09.18:** Rebase to ubuntu bionic, add udev package.
+ **09.12.17:** Fix continuation lines. + **09.12.17:** Fix continuation lines.
+ **12.07.17:** Add inspect commands to README, move to jenkins build and push. + **12.07.17:** Add inspect commands to README, move to jenkins build and push.
+ **28.05.17:** Add unrar package as per requests, for subzero plugin. + **28.05.17:** Add unrar package as per requests, for subzero plugin.

@ -40,7 +40,7 @@ cat > "${UPGRADE_FAIL}" <<-EOFFAIL
EOFFAIL EOFFAIL
# test for no version set or opt out for autoupdates # test for no version set or opt out for autoupdates
if [[ -z "$VERSION" ]] || [[ "$VERSION" == "0" ]] || [[ ! -z "$ADVANCED_DISABLEUPDATES" ]]; then if [[ -z "$VERSION" ]] || [[ "$VERSION" == "0" ]] || [[ -n "$ADVANCED_DISABLEUPDATES" ]]; then
printf '\n\n\n%s\n\n\n' "$(</tmp/no-version.nfo)" printf '\n\n\n%s\n\n\n' "$(</tmp/no-version.nfo)"
exit 0 exit 0
fi fi

Loading…
Cancel
Save