rebuild containers, fix/update scripts as required

This commit is contained in:
2017-12-21 12:08:12 +00:00
parent 4ddeabc66c
commit 03325aeeaa
8 changed files with 26 additions and 14 deletions

View File

@@ -1,14 +1,14 @@
## 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_TIMEZONE $TIMEZONE
## 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
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
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