Skip to content

Commit b1580d1

Browse files
committed
Merge pull request #34 from linuxserver/killjason
Replaces the json with a generic url
2 parents aac62ea + a25d3ba commit b1580d1

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ MAINTAINER Stian Larsen <lonixx@gmail.com>
33

44
# Install Plex
55
RUN apt-get -q update && \
6-
PLEXURL=$(curl -s https://tools.linuxserver.io/latest-plex.json| grep "ubuntu64" | cut -d '"' -f 4) && \
76
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 && \
7+
curl -L 'https://plex.tv/downloads/latest/1?channel=8&build=linux-ubuntu-x86_64&distro=ubuntu' -o /tmp/plexmediaserver.deb && \
8+
dpkg -i /tmp/plexmediaserver.deb && rm -f /tmp/plexmediaserver.deb && \
119
apt-get clean && \
1210
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
1311

@@ -18,7 +16,7 @@ COPY services/ /etc/service/
1816
RUN chmod -v +x /etc/service/*/run /etc/my_init.d/*.sh
1917

2018
# Define /config in the configuration file not using environment variables
21-
ADD plexmediaserver /defaults/plexmediaserver
19+
COPY plexmediaserver /defaults/plexmediaserver
2220

2321
#Mappings and ports
2422
VOLUME ["/config", "/transcode"]

0 commit comments

Comments
 (0)