upgrade php

This commit is contained in:
2016-07-22 13:28:20 +02:00
parent 61384c3553
commit 0305caa909
4 changed files with 10 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
FROM = debian:jessie
MODE = minimal
PROXY = $(shell ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | cut -d' ' -f1)
TIMEZONE = Europe/London
TIMEZONE = Europe/Amsterdam
JOBS = 2
CLEANUP = true
ARGS = --rm=false --no-cache=false

View File

@@ -4,3 +4,4 @@ base:
@echo 'CMD ["/opt/init"]' >> ${FILE}
$(call script,utilities)
$(call script,runit)
$(call script,logrotate)

View File

@@ -1,2 +1,3 @@
php: compile
$(call script,utilities)
$(call script,$@)

View File

@@ -1,7 +1,7 @@
## Environment
export_env PHP_VERSION 5.6.21
export_env PHP_VERSION 5.6.23
export_env PHP_CONFIG /usr/local/lib/php.ini
export_env PHP_TIMEZONE Europe/London
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
@@ -11,7 +11,7 @@ cd /opt
wget http://uk1.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
./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
make $JOBS
make install