Dynamic builb version for plex,rebuilds

pull/1/head
Stian Buch Larsen 10 years ago
parent 60e5eb1847
commit 5e11755a37

@ -11,10 +11,11 @@ CMD ["/sbin/my_init"]
# Install Plex # Install Plex
RUN apt-get -q update && \ RUN apt-get -q update && \
VERSION=$(curl https://raw.githubusercontent.com/linuxserver/misc-files/master/plex-version/public) && \
apt-get install -qy gdebi-core wget && \ apt-get install -qy gdebi-core wget && \
wget -P /tmp http://downloads.plexapp.com/plex-media-server/0.9.9.14.531-7eef8c6/plexmediaserver_0.9.9.14.531-7eef8c6_amd64.deb && \ wget -P /tmp "http://downloads.plexapp.com/plex-media-server/$VERSION/plexmediaserver_${VERSION}_amd64.deb" && \
gdebi -n /tmp/plexmediaserver_0.9.9.14.531-7eef8c6_amd64.deb && \ gdebi -n /tmp/plexmediaserver_${VERSION}_amd64.deb && \
rm -f /tmp/plexmediaserver_0.9.9.14.531-7eef8c6_amd64.deb && \ rm -f /tmp/plexmediaserver_${VERSION}_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…
Cancel
Save