Add build files for sonarr

This commit is contained in:
2015-02-09 08:30:55 +00:00
parent c065a72a5d
commit 3e46abaaec
4 changed files with 26 additions and 0 deletions

3
build/make/sonarr.mk Normal file
View File

@@ -0,0 +1,3 @@
sonarr:
$(call script,$@)
$(call runit,$@)

3
build/runit/sonarr Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
set -e
mono /opt/NzbDrone/NzbDrone.exe --no-browser -data=$SONARR_DATA

14
build/scripts/sonarr.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
set -e
source /build/config
set -x
## Environment
export_env SONARR_DATA /host/var/lib/sonarr
## Sonarr
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FDA5DFFC
echo "deb http://apt.sonarr.tv/ develop main" | tee -a /etc/apt/sources.list
apt-get update
apt_get_install_permanent nzbdrone mediainfo
chmod +x /opt/NzbDrone/NzbDrone.exe

6
images/sonarr.mk Normal file
View File

@@ -0,0 +1,6 @@
include $(DOCKER_HOME)/build/Makefile
NAME = sonarr
VERSION = latest
build: sonarr