rebuild containers, fix/update scripts as required
This commit is contained in:
@@ -4,8 +4,9 @@ export_env BTSYNC_DATA /host/var/btsync
|
|||||||
|
|
||||||
## BTsync
|
## BTsync
|
||||||
cd /opt
|
cd /opt
|
||||||
wget -O btsync.tar.gz http://download-lb.utorrent.com/endpoint/btsync/os/linux-x64/track/stable
|
wget -O btsync.tar.gz https://download-cdn.resilio.com/stable/linux-x64/resilio-sync_x64.tar.gz
|
||||||
tar xzf btsync.tar.gz btsync
|
tar xzf btsync.tar.gz rslsync
|
||||||
|
mv rslsync btsync
|
||||||
|
|
||||||
## Remove installation files
|
## Remove installation files
|
||||||
if [ $MODE == "minimal" ]; then
|
if [ $MODE == "minimal" ]; then
|
||||||
|
|||||||
@@ -7,4 +7,4 @@ apt_install_permanent python-qt4 xz-utils xdg-utils imagemagick
|
|||||||
|
|
||||||
## Calibre
|
## Calibre
|
||||||
cd /opt
|
cd /opt
|
||||||
PYTHONIOENCODING="utf-8" wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"
|
wget --no-check-certificate-nv -O- http://download.calibre-ebook.com/linux-installer.py | python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"
|
||||||
@@ -5,9 +5,12 @@ export_env LIGHTTPD_VERSION $LIGHTTPD_VERSION_MAJOR.$LIGHTTPD_VERSION_MINOR
|
|||||||
export_env LIGHTTPD_CONFIG /etc/lighttpd/lighttpd.conf
|
export_env LIGHTTPD_CONFIG /etc/lighttpd/lighttpd.conf
|
||||||
export_env LIGHTTPD_LOG /host/var/log/lighttpd/error.log
|
export_env LIGHTTPD_LOG /host/var/log/lighttpd/error.log
|
||||||
|
|
||||||
|
## Dependencies
|
||||||
|
apt_install_permanent default-libmysqlclient-dev libpcre3-dev
|
||||||
|
|
||||||
## Lighthttpd
|
## Lighthttpd
|
||||||
apt_install_permanent lighttpd
|
apt_install_permanent lighttpd
|
||||||
apt-get build-dep -y lighttpd
|
# apt-get build-dep -y lighttpd
|
||||||
apt_install_temporary automake
|
apt_install_temporary automake
|
||||||
cd /opt
|
cd /opt
|
||||||
wget http://download.lighttpd.net/lighttpd/releases-$LIGHTTPD_VERSION_MAJOR.x/lighttpd-$LIGHTTPD_VERSION.tar.gz
|
wget http://download.lighttpd.net/lighttpd/releases-$LIGHTTPD_VERSION_MAJOR.x/lighttpd-$LIGHTTPD_VERSION.tar.gz
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
## Environment
|
## Environment
|
||||||
export_env PHP_VERSION 7.1.6
|
export_env PHP_VERSION 7.2.0
|
||||||
export_env PHP_CONFIG /usr/local/lib/php.ini
|
export_env PHP_CONFIG /usr/local/lib/php.ini
|
||||||
export_env PHP_TIMEZONE $TIMEZONE
|
export_env PHP_TIMEZONE $TIMEZONE
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
apt_install_permanent libxml2-dev libcurl4-openssl-dev libbz2-dev libjpeg-dev libpng12-dev libmcrypt-dev libssl-dev pkg-config
|
apt_install_permanent libxml2-dev libcurl4-openssl-dev libbz2-dev libjpeg-dev libpng-dev libmcrypt-dev libssl-dev pkg-config
|
||||||
|
|
||||||
## PHP
|
## PHP
|
||||||
cd /opt
|
cd /opt
|
||||||
wget http://uk1.php.net/get/php-$PHP_VERSION.tar.gz/from/this/mirror -O php-$PHP_VERSION.tar.gz
|
wget http://nl1.php.net/get/php-$PHP_VERSION.tar.gz/from/this/mirror -O php-$PHP_VERSION.tar.gz
|
||||||
tar xzf php-$PHP_VERSION.tar.gz
|
tar xzf php-$PHP_VERSION.tar.gz
|
||||||
cd php-$PHP_VERSION
|
cd php-$PHP_VERSION
|
||||||
./configure --enable-calendar --enable-bcmath --with-bz2 --enable-ctype --without-gdbm --with-iconv --enable-exif --enable-ftp --with-gettext --enable-mbstring --enable-sockets --with-zlib --enable-soap --enable-zip --with-mhash --with-curl --with-gd --with-mysql --with-jpeg-dir --with-openssl --with-mysqli --with-mcrypt --enable-pcntl
|
./configure --enable-calendar --enable-bcmath --with-bz2 --enable-ctype --without-gdbm --with-iconv --enable-exif --enable-ftp --with-gettext --enable-mbstring --enable-sockets --with-zlib --enable-soap --enable-zip --with-mhash --with-curl --with-gd --with-mysql --with-jpeg-dir --with-openssl --with-mysqli --with-mcrypt --enable-pcntl
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
## Configuration
|
## Configuration
|
||||||
export_env PMA_VERSION 4.7.1
|
export_env PMA_VERSION 4.7.6
|
||||||
export_env PMA_ROOT /var/www/html
|
export_env PMA_ROOT /var/www/html
|
||||||
export_env PMA_CONFIG $PMA_ROOT/config.inc.php
|
export_env PMA_CONFIG $PMA_ROOT/config.inc.php
|
||||||
|
|
||||||
## phpMyAdmin
|
## phpMyAdmin
|
||||||
cd /opt
|
cd /opt
|
||||||
wget https://files.phpmyadmin.net/phpMyAdmin/$PMA_VERSION/phpMyAdmin-$PMA_VERSION-all-languages.tar.gz
|
wget http://files.phpmyadmin.net/phpMyAdmin/$PMA_VERSION/phpMyAdmin-$PMA_VERSION-all-languages.tar.gz
|
||||||
tar xzf phpMyAdmin-$PMA_VERSION-all-languages.tar.gz phpMyAdmin-$PMA_VERSION-all-languages
|
tar xzf phpMyAdmin-$PMA_VERSION-all-languages.tar.gz phpMyAdmin-$PMA_VERSION-all-languages
|
||||||
mv phpMyAdmin-$PMA_VERSION-*/ phpMyAdmin-$PMA_VERSION/
|
mv phpMyAdmin-$PMA_VERSION-*/ phpMyAdmin-$PMA_VERSION/
|
||||||
rm -rf $PMA_ROOT
|
rm -rf $PMA_ROOT
|
||||||
|
|||||||
@@ -35,8 +35,9 @@ ln -sf /bin/true /usr/bin/ischroot
|
|||||||
# https://github.com/docker/docker/issues/6345#issuecomment-49245365
|
# https://github.com/docker/docker/issues/6345#issuecomment-49245365
|
||||||
ln -sf /bin/true /usr/bin/chfn
|
ln -sf /bin/true /usr/bin/chfn
|
||||||
|
|
||||||
## Package management
|
## Install HTTPS support for APT
|
||||||
apt_install_permanent apt-transport-https apt-utils
|
apt update
|
||||||
|
apt_install_permanent apt-transport-https
|
||||||
|
|
||||||
## Upgrade all packages
|
## Upgrade all packages
|
||||||
apt dist-upgrade -y --no-install-recommends
|
apt dist-upgrade -y --no-install-recommends
|
||||||
|
|||||||
@@ -1,10 +1,14 @@
|
|||||||
## Environmen t
|
## Environment
|
||||||
export_env SABNZBD_CONFIG /host/etc/sabnzbd/sabnzbd.ini
|
export_env SABNZBD_CONFIG /host/etc/sabnzbd/sabnzbd.ini
|
||||||
export_env SABNZBD_DATA /host/var/lib/sabnzbd
|
export_env SABNZBD_DATA /host/var/lib/sabnzbd
|
||||||
|
|
||||||
|
## Dependencies
|
||||||
|
apt_install_permanent gnupg dirmngr
|
||||||
|
|
||||||
## SABnzbd
|
## SABnzbd
|
||||||
echo 'deb http://ppa.launchpad.net/jcfp/ppa/ubuntu precise main' >> /etc/apt/sources.list.d/sabnzbdplus.list
|
echo 'deb http://ppa.launchpad.net/jcfp/ppa/ubuntu precise main' >> /etc/apt/sources.list.d/sabnzbdplus.list
|
||||||
echo 'deb http://ppa.launchpad.net/jcfp/nobetas/ubuntu precise main' >> /etc/apt/sources.list.d/sabnzbdplus.list
|
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0x98703123E0F52B2BE16D586EF13930B14BB9F05F
|
||||||
|
apt update
|
||||||
apt install -f
|
apt install -f
|
||||||
apt_install_permanent sabnzbdplus
|
apt_install_permanent sabnzbdplus
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,10 @@ export_env SONARR_DATA /host/var/lib/sonarr
|
|||||||
## Dependencies
|
## Dependencies
|
||||||
apt_install_permanent libmono-cil-dev sqlite3 mediainfo
|
apt_install_permanent libmono-cil-dev sqlite3 mediainfo
|
||||||
|
|
||||||
## Key
|
## Dependencies
|
||||||
|
apt_install_permanent gnupg dirmngr
|
||||||
|
|
||||||
|
## Sonarr
|
||||||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FDA5DFFC
|
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FDA5DFFC
|
||||||
|
|
||||||
## Sonarr
|
## Sonarr
|
||||||
|
|||||||
Reference in New Issue
Block a user