forked from tuxeh/docker-sonarr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.old
34 lines (26 loc) · 1007 Bytes
/
Dockerfile.old
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
FROM debian:wheezy
MAINTAINER tuxeh <sirtuxeh@gmail.com>
# mono 3.10 currently doesn't install in debian jessie due to libpeg8 being removed.
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FDA5DFFC \
&& echo "deb http://apt.sonarr.tv/ master main" | tee -a /etc/apt/sources.list \
&& apt-get update -q \
&& apt-get install -qy nzbdrone mediainfo \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN chown -R nobody:users /opt/NzbDrone \
; mkdir -p /volumes/config/sonarr /volumes/completed /volumes/media \
&& chown -R nobody:users /volumes
EXPOSE 8989
EXPOSE 9898
VOLUME /volumes/config
VOLUME /volumes/completed
VOLUME /volumes/media
ADD develop/start.sh /
RUN chmod +x /start.sh
ADD develop/sonarr-update.sh /sonarr-update.sh
RUN chmod 755 /sonarr-update.sh \
&& chown nobody:users /sonarr-update.sh
USER nobody
WORKDIR /opt/NzbDrone
ENTRYPOINT ["/start.sh"]