Files
sonarr/Dockerfile
2017-01-14 00:41:49 +00:00

33 lines
617 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 lsiobase/xenial
MAINTAINER sparklyballs
# set environment variables
ARG DEBIAN_FRONTEND="noninteractive"
ENV XDG_CONFIG_HOME="/config/xdg"
# add sonarr repository
RUN \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FDA5DFFC && \
echo "deb http://apt.sonarr.tv/ develop main" > \
/etc/apt/sources.list.d/sonarr.list && \
# install packages
apt-get update && \
apt-get install -y \
libcurl3 \
nzbdrone && \
# cleanup
apt-get clean && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*
# add local files
COPY root/ /
# ports and volumes
EXPOSE 8989
VOLUME /config /downloads /tv