-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
25 lines (20 loc) · 978 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
FROM docker.io/library/debian
LABEL description="SABnzbd Container"
MAINTAINER n24x
RUN \
echo "deb http://deb.debian.org/debian buster contrib non-free" >> /etc/apt/sources.list.d/contrib.list && \
echo "deb http://deb.debian.org/debian-security/ buster/updates contrib non-free" >> /etc/apt/sources.list.d/contrib.list && \
echo "deb http://deb.debian.org/debian buster-updates contrib non-free" >> /etc/apt/sources.list.d/contrib.list && \
apt update && \
apt-get -y install sabnzbdplus unzip && \
apt clean && \
rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* && \
echo 'LANG="en_US.UTF-8"' >> /etc/default/locale && \
sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
locale-gen && \
ln -sf /usr/share/zoneinfo/US/Eastern /etc/localtime && \
mkdir /mnt/data && \
mkdir /mnt/data/watched
EXPOSE 8080
#ENTRYPOINT ["/usr/bin/sabnzbdplus"]
CMD ["/usr/bin/sabnzbdplus", "--config-file","/mnt/data","--browser","0","--console","--server",":8080"]