Files
docker-sabnzbd/Dockerfile
T

40 lines
894 B
Docker
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
FROM linuxserver/baseimage
MAINTAINER Mark Burford <sparklyballs@gmail.com>
ENV APTLIST="sabnzbdplus \
sabnzbdplus-theme-mobile \
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