mirror of
https://github.com/linuxserver/docker-plex.git
synced 2026-01-20 19:45:54 +08:00
Dynamic builb version for plex,rebuilds
This commit is contained in:
parent
60e5eb1847
commit
5e11755a37
@ -11,10 +11,11 @@ CMD ["/sbin/my_init"]
|
||||
|
||||
# Install Plex
|
||||
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 && \
|
||||
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 && \
|
||||
gdebi -n /tmp/plexmediaserver_0.9.9.14.531-7eef8c6_amd64.deb && \
|
||||
rm -f /tmp/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_${VERSION}_amd64.deb && \
|
||||
rm -f /tmp/plexmediaserver_${VERSION}_amd64.deb && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user