From 00b2a815e90dab4f904c37a3c6a4e26987603513 Mon Sep 17 00:00:00 2001 From: noogen Date: Fri, 26 Oct 2018 05:13:05 -0500 Subject: [PATCH] remove old php --- Dockerfile | 22 ++++------------------ README.md | 4 +++- 2 files changed, 7 insertions(+), 19 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0d1f38f..0431bbc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM hyperknot/baseimage16:1.0.4 +FROM hyperknot/baseimage16:1.0.6 LABEL maintainer="noogen " @@ -17,7 +17,7 @@ RUN cd /tmp \ sudo tar git apt-utils software-properties-common build-essential python-dev tcl openssl libpcre3 dnsmasq ca-certificates libpcre3-dev re2c \ libxml2-dev libxslt1-dev zlib1g-dev libffi-dev libssl-dev libmagickwand-dev procps imagemagick netcat libv8-6.6-dev pkg-config \ mcrypt pwgen language-pack-en-base libicu-dev g++ cpp libglib2.0-dev incron libcouchbase-dev libcouchbase2-libevent \ - php7.2-dev php-pear php-xml php7.2-xml php5.6-dev php5.6-xml php7.0-dev php7.0-xml php7.1-dev php7.1-xml \ + php7.2-dev php-pear php-xml php7.2-xml php7.1-dev php7.1-xml \ libc6 libcurl3 libgcc1 libgssapi-krb5-2 liblttng-ust0 libssl1.0.0 libstdc++6 libunwind8 libuuid1 zlib1g \ && systemctl disable incron \ && echo 'root' >> /etc/incron.allow \ @@ -35,28 +35,14 @@ RUN cd /tmp \ && chmod +x /etc/service/sshd/run \ && chmod +x /usr/bin/backup-creds.sh \ && chmod +x /etc/service/incrond/run \ - && /usr/bin/switch-php.sh "7.2" \ + && /usr/bin/switch-php.sh "7.1" \ && cd /tmp && curl -sL https://pecl.php.net/get/pcs > pcs.tgz && tar -xf pcs.tgz && cd pcs-* && phpize && ./configure && make && make install \ && cd /tmp && curl -sL https://pecl.php.net/get/igbinary > igbinary.tgz && tar -xf igbinary.tgz && cd igbinary-* && phpize && ./configure && make && make install \ && cd /tmp && curl -sL https://pecl.php.net/get/couchbase > couchbase.tgz && tar -xf couchbase.tgz && cd couchbase-* && phpize && ./configure && make && make install \ && cd /tmp && curl -sL https://pecl.php.net/get/imagick > imagick.tgz && tar -xf imagick.tgz && cd imagick-* && phpize && ./configure && make && make install \ && cd /tmp && curl -sL https://pecl.php.net/get/v8js > v8js.tgz && tar -xf v8js.tgz && cd v8js-* && phpize && LDFLAGS="-lstdc++" ./configure --with-v8js=/opt/libv8-6.6 && make && make install \ && cd /tmp && curl -sL https://pecl.php.net/get/v8 > v8.tgz && tar -xf v8.tgz && cd v8-* && phpize && ./configure --with-v8=/opt/libv8-6.6 && make && make install \ - && rm -rf /tmp/* \ - && /usr/bin/switch-php.sh "5.6" \ - && cd /tmp && curl -sL https://pecl.php.net/get/pcs > pcs.tgz && tar -xf pcs.tgz && cd pcs-* && phpize && ./configure && make && make install \ - && cd /tmp && curl -sL https://pecl.php.net/get/igbinary > igbinary.tgz && tar -xf igbinary.tgz && cd igbinary-* && phpize && ./configure && make && make install \ - && cd /tmp && curl -sL https://pecl.php.net/get/couchbase > couchbase.tgz && tar -xf couchbase.tgz && cd couchbase-* && phpize && ./configure && make && make install \ - && cd /tmp && curl -sL https://pecl.php.net/get/imagick > imagick.tgz && tar -xf imagick.tgz && cd imagick-* && phpize && ./configure && make && make install \ - && rm -rf /tmp/* \ - && /usr/bin/switch-php.sh "7.0" \ - && cd /tmp && curl -sL https://pecl.php.net/get/pcs > pcs.tgz && tar -xf pcs.tgz && cd pcs-* && phpize && ./configure && make && make install \ - && cd /tmp && curl -sL https://pecl.php.net/get/igbinary > igbinary.tgz && tar -xf igbinary.tgz && cd igbinary-* && phpize && ./configure && make && make install \ - && cd /tmp && curl -sL https://pecl.php.net/get/couchbase > couchbase.tgz && tar -xf couchbase.tgz && cd couchbase-* && phpize && ./configure && make && make install \ - && cd /tmp && curl -sL https://pecl.php.net/get/imagick > imagick.tgz && tar -xf imagick.tgz && cd imagick-* && phpize && ./configure && make && make install \ - && cd /tmp && curl -sL https://pecl.php.net/get/v8js > v8js.tgz && tar -xf v8js.tgz && cd v8js-* && phpize && LDFLAGS="-lstdc++" ./configure --with-v8js=/opt/libv8-6.6 && make && make install \ - && rm -rf /tmp/* \ - && /usr/bin/switch-php.sh "7.1" \ + && /usr/bin/switch-php.sh "7.2" \ && cd /tmp && curl -sL https://pecl.php.net/get/pcs > pcs.tgz && tar -xf pcs.tgz && cd pcs-* && phpize && ./configure && make && make install \ && cd /tmp && curl -sL https://pecl.php.net/get/igbinary > igbinary.tgz && tar -xf igbinary.tgz && cd igbinary-* && phpize && ./configure && make && make install \ && cd /tmp && curl -sL https://pecl.php.net/get/couchbase > couchbase.tgz && tar -xf couchbase.tgz && cd couchbase-* && phpize && ./configure && make && make install \ diff --git a/README.md b/README.md index e99054c..e2003e5 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Based off https://github.com/phusion/baseimage-docker, this image contain latest For convienience, sshd is enabled by default; just don't expose docker port 22 if you don't want to use sshd. ## php files -1. pecl install latest v8js for php7.0+ +1. pecl install latest v8js for php7.1+ 2. pecl install pcs and couchbase for couchdb 3. imagemagick lib for php-imagick support 4. composer @@ -23,6 +23,8 @@ For convienience, sshd is enabled by default; just don't expose docker port 22 i 4. java ## Note +1.1.0 - 10/26/2018 remove support for php5.6 and php7.0 as both will be end of life (EOL) by the end of this year: http://php.net/supported-versions.php + 1.0.4 - remove support of v8js for php-5.6 due to deprecation of older v8 - https://github.com/phpv8/v8js/issues/345. Upgrade from 3.4 to 3.6 for mongodb. # MIT \ No newline at end of file