forked from linuxserver/docker-sabnzbd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
38 lines (29 loc) · 872 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 linuxserver/baseimage
MAINTAINER Sparklyballs <sparklyballs@linuxserver.io>
ENV APTLIST="sabnzbdplus \
unrar \
wget"
# Set the locale
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
RUN locale-gen en_US.UTF-8
# install our compiled version of par2 multicore
ADD deb/ /tmp/
RUN apt-get update -q && \
apt-get install libtbb2 -qy && \
dpkg -i /tmp/par2-tbb_*.deb && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# install main packages
RUN add-apt-repository ppa:jcfp/ppa && \
apt-get update -q && \
apt-get install \
$APTLIST -qy && \
apt-get clean -y && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# adding custom files
ADD services/ /etc/service/
ADD init/ /etc/my_init.d/
RUN chmod -v +x /etc/service/*/run && chmod -v +x /etc/my_init.d/*.sh
# set volumes
VOLUME /config /downloads /incomplete-downloads
# expose ports
EXPOSE 8080 9090