Change plex download link to "latest" mirror

This commit is contained in:
Kelvin Chen 2015-11-07 14:07:47 -05:00
parent c6f1e29bc4
commit 1d572891f4
1 changed files with 1 additions and 4 deletions

View File

@ -1,10 +1,7 @@
FROM kelvinchen/seedbox:base FROM kelvinchen/seedbox:base
MAINTAINER Kelvin Chen <kelvin@kelvinchen.org> MAINTAINER Kelvin Chen <kelvin@kelvinchen.org>
ARG PLEX_VER=0.9.12.18.1520-6833552 RUN curl -sL "https://plex.tv/downloads/latest/1?channel=8&build=linux-ubuntu-x86_64&distro=ubuntu&X-Plex-Token=" > /tmp/plex.deb && \
ARG PLEX_DL="https://downloads.plex.tv/plex-media-server/$PLEX_VER/plexmediaserver_${PLEX_VER}_amd64.deb"
RUN curl -sL "$PLEX_DL" > /tmp/plex.deb && \
dpkg -i /tmp/plex.deb && \ dpkg -i /tmp/plex.deb && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*