From 48894d1c65e78e115d859a814a122ab34ea609d1 Mon Sep 17 00:00:00 2001 From: Stian Buch Larsen Date: Thu, 17 Mar 2016 12:00:11 +0100 Subject: [PATCH] merge this then ? --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index b7b5c67..a975b17 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,11 @@ MAINTAINER Stian Larsen # Install Plex RUN apt-get -q update && \ -VERSION=$(curl -s https://tools.linuxserver.io/latest-plex.json| grep "version" | 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 gdebi-core avahi-daemon wget && \ -wget -P /tmp "https://downloads.plex.tv/plex-media-server/$VERSION/plexmediaserver_${VERSION}_amd64.deb" && \ -gdebi -n /tmp/plexmediaserver_${VERSION}_amd64.deb && \ -rm -f /tmp/plexmediaserver_${VERSION}_amd64.deb && \ +wget -P /tmp "$PLEXURL" && \ +gdebi -n /tmp/plexmediaserver_*_amd64.deb && \ +rm -f /tmp/plexmediaserver_*_amd64.deb && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*