update rar version and add 7zip in sabnzbd container
This commit is contained in:
@@ -4,7 +4,7 @@ PROXY = $(shell ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | cut -d' ' -f1)
|
||||
TIMEZONE = Europe/Amsterdam
|
||||
JOBS = 2
|
||||
CLEANUP = true
|
||||
ARGS = --rm=false --no-cache=false
|
||||
ARGS = --rm=false --no-cache=true
|
||||
include $(wildcard $(DOCKER_HOME)/build/make/*.mk)
|
||||
|
||||
define add
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
## Environment
|
||||
export_env RAR_VERSION 4.1.1
|
||||
export_env RAR_VERSION 5.4.0
|
||||
export_env SABNZBD_CONFIG /host/etc/sabnzbd/sabnzbd.ini
|
||||
export_env SABNZBD_DATA /host/var/lib/sabnzbd
|
||||
|
||||
|
||||
|
||||
## SABnzbd
|
||||
echo 'deb http://ppa.launchpad.net/jcfp/ppa/ubuntu precise main' > /etc/apt/sources.list.d/sabnzbdplus.list
|
||||
apt-key adv --keyserver hkp://pool.sks-keyservers.net:11371 --recv-keys 0x98703123E0F52B2BE16D586EF13930B14BB9F05F
|
||||
@@ -18,4 +16,7 @@ apt_install_permanent unzip par2 python-openssl python-yenc
|
||||
cd /opt
|
||||
wget http://www.rarlab.com/rar/rarlinux-x64-$RAR_VERSION.tar.gz
|
||||
tar xzf rarlinux-x64-$RAR_VERSION.tar.gz
|
||||
ln -s /opt/rar/rar /usr/bin
|
||||
ln -s /opt/rar/rar /usr/bin
|
||||
|
||||
## 7zip
|
||||
apt_install_permanent p7zip-full
|
||||
|
||||
Reference in New Issue
Block a user