Skip to content

Commit 9df0b30

Browse files
committed
Replaces the json with a generic url
1 parent aac62ea commit 9df0b30

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ MAINTAINER Stian Larsen <lonixx@gmail.com>
55
RUN apt-get -q update && \
66
PLEXURL=$(curl -s https://tools.linuxserver.io/latest-plex.json| grep "ubuntu64" | cut -d '"' -f 4) && \
77
apt-get install -qy dbus avahi-daemon wget && \
8-
wget -P /tmp "$PLEXURL" && \
9-
dpkg -i /tmp/plexmediaserver_*_amd64.deb && \
10-
rm -f /tmp/plexmediaserver_*_amd64.deb && \
8+
curl -L 'https://plex.tv/downloads/latest/1?channel=8&build=linux-ubuntu-x86_64&distro=ubuntu' -o /tmp/plexmediaserver.deb
9+
dpkg -i /tmp/plexmediaserver.deb && rm -f /tmp/plexmediaserver.deb && \
1110
apt-get clean && \
1211
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
1312

0 commit comments

Comments
 (0)