Add build files for sonarr
This commit is contained in:
3
build/make/sonarr.mk
Normal file
3
build/make/sonarr.mk
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
sonarr:
|
||||||
|
$(call script,$@)
|
||||||
|
$(call runit,$@)
|
||||||
3
build/runit/sonarr
Normal file
3
build/runit/sonarr
Normal 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
14
build/scripts/sonarr.sh
Normal 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
6
images/sonarr.mk
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
include $(DOCKER_HOME)/build/Makefile
|
||||||
|
|
||||||
|
NAME = sonarr
|
||||||
|
VERSION = latest
|
||||||
|
|
||||||
|
build: sonarr
|
||||||
Reference in New Issue
Block a user