|
|
|
@ -145,7 +145,7 @@ RUN mv mirror php-5.5.38.tar.bz2 |
|
|
|
|
RUN tar -xvf php-5.5.38.tar.bz2 |
|
|
|
|
RUN cd php-5.5.38 && ./configure --enable-maintainer-zts --prefix=/usr/local/php-5.5-zts && \ |
|
|
|
|
make && make install && cd .. |
|
|
|
|
RUN cd php-5.5.38 && make clean && ./configure --prefix=/usr/local/php-5.5 && \ |
|
|
|
|
RUN cd php-5.5.38 && make clean && ./configure --enable-bcmath --prefix=/usr/local/php-5.5 && \ |
|
|
|
|
make && make install && cd .. |
|
|
|
|
|
|
|
|
|
RUN wget http://am1.php.net/get/php-5.6.30.tar.bz2/from/this/mirror |
|
|
|
@ -153,7 +153,7 @@ RUN mv mirror php-5.6.30.tar.bz2 |
|
|
|
|
RUN tar -xvf php-5.6.30.tar.bz2 |
|
|
|
|
RUN cd php-5.6.30 && ./configure --enable-maintainer-zts --prefix=/usr/local/php-5.6-zts && \ |
|
|
|
|
make && make install && cd .. |
|
|
|
|
RUN cd php-5.6.30 && make clean && ./configure --prefix=/usr/local/php-5.6 && \ |
|
|
|
|
RUN cd php-5.6.30 && make clean && ./configure --enable-bcmath --prefix=/usr/local/php-5.6 && \ |
|
|
|
|
make && make install && cd .. |
|
|
|
|
|
|
|
|
|
RUN wget http://am1.php.net/get/php-7.0.18.tar.bz2/from/this/mirror |
|
|
|
@ -161,7 +161,7 @@ RUN mv mirror php-7.0.18.tar.bz2 |
|
|
|
|
RUN tar -xvf php-7.0.18.tar.bz2 |
|
|
|
|
RUN cd php-7.0.18 && ./configure --enable-maintainer-zts --prefix=/usr/local/php-7.0-zts && \ |
|
|
|
|
make && make install && cd .. |
|
|
|
|
RUN cd php-7.0.18 && make clean && ./configure --prefix=/usr/local/php-7.0 && \ |
|
|
|
|
RUN cd php-7.0.18 && make clean && ./configure --enable-bcmath --prefix=/usr/local/php-7.0 && \ |
|
|
|
|
make && make install && cd .. |
|
|
|
|
|
|
|
|
|
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" |
|
|
|
@ -174,7 +174,7 @@ RUN cd /tmp && \ |
|
|
|
|
rm -rf protobuf && \ |
|
|
|
|
git clone https://github.com/google/protobuf.git && \ |
|
|
|
|
cd protobuf && \ |
|
|
|
|
git reset --hard 6b27c1f981a9a93918e4039f236ead27165a8e91 && \ |
|
|
|
|
git reset --hard 8d97b3d8b5a33650e822460b3b561802c969e86e && \ |
|
|
|
|
cd php && \ |
|
|
|
|
ln -sfn /usr/local/php-5.5/bin/php /usr/bin/php && \ |
|
|
|
|
ln -sfn /usr/local/php-5.5/bin/php-config /usr/bin/php-config && \ |
|
|
|
|