forked from pith/docker-plex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
36 lines (24 loc) · 886 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
FROM debian:wheezy
MAINTAINER Tim Haak <tim@haak.co.uk>
#Thanks to https://github.com/bydavy/docker-plex/blob/master/Dockerfile and https://github.com/aostanin/docker-plex/blob/master/Dockerfile
ENV DEBIAN_FRONTEND noninteractive
ENV LANG en_US.UTF-8
ENV LC_ALL C.UTF-8
ENV LANGUAGE en_US.UTF-8
RUN apt-get -q update
RUN apt-get -qy --force-yes dist-upgrade
RUN apt-get install -qy --force-yes curl
RUN echo "deb http://shell.ninthgate.se/packages/debian squeeze main" > /etc/apt/sources.list.d/plexmediaserver.list
RUN curl http://shell.ninthgate.se/packages/shell-ninthgate-se-keyring.key | apt-key add -
RUN apt-get -q update
RUN apt-get install -qy --force-yes plexmediaserver
# apt clean
RUN apt-get clean &&\
rm -rf /var/lib/apt/lists/* &&\
rm -rf /tmp/*
VOLUME /config
VOLUME /data
ADD ./start.sh /start.sh
RUN chmod u+x /start.sh
EXPOSE 32400
CMD ["/start.sh"]