From 9df0b30eb0145312da8f868d1f95522390b9138c Mon Sep 17 00:00:00 2001 From: Stian Buch Larsen Date: Thu, 7 Apr 2016 15:00:02 +0200 Subject: [PATCH] Replaces the json with a generic url --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index d164bbb..c0568ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,8 @@ MAINTAINER Stian Larsen RUN apt-get -q update && \ PLEXURL=$(curl -s https://tools.linuxserver.io/latest-plex.json| grep "ubuntu64" | cut -d '"' -f 4) && \ apt-get install -qy dbus avahi-daemon wget && \ -wget -P /tmp "$PLEXURL" && \ -dpkg -i /tmp/plexmediaserver_*_amd64.deb && \ -rm -f /tmp/plexmediaserver_*_amd64.deb && \ +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.deb && rm -f /tmp/plexmediaserver.deb && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*