Replaces the json with a generic url
This commit is contained in:
parent
aac62eacaa
commit
9df0b30eb0
1 changed files with 2 additions and 3 deletions
|
|
@ -5,9 +5,8 @@ MAINTAINER Stian Larsen <lonixx@gmail.com>
|
||||||
RUN apt-get -q update && \
|
RUN apt-get -q update && \
|
||||||
PLEXURL=$(curl -s https://tools.linuxserver.io/latest-plex.json| grep "ubuntu64" | cut -d '"' -f 4) && \
|
PLEXURL=$(curl -s https://tools.linuxserver.io/latest-plex.json| grep "ubuntu64" | cut -d '"' -f 4) && \
|
||||||
apt-get install -qy dbus avahi-daemon wget && \
|
apt-get install -qy dbus avahi-daemon wget && \
|
||||||
wget -P /tmp "$PLEXURL" && \
|
curl -L 'https://plex.tv/downloads/latest/1?channel=8&build=linux-ubuntu-x86_64&distro=ubuntu' -o /tmp/plexmediaserver.deb
|
||||||
dpkg -i /tmp/plexmediaserver_*_amd64.deb && \
|
dpkg -i /tmp/plexmediaserver.deb && rm -f /tmp/plexmediaserver.deb && \
|
||||||
rm -f /tmp/plexmediaserver_*_amd64.deb && \
|
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue