|
@@ -55,66 +55,6 @@ RUN mv composer.phar /usr/local/bin/composer
|
|
# Download php source code
|
|
# Download php source code
|
|
RUN git clone https://github.com/php/php-src
|
|
RUN git clone https://github.com/php/php-src
|
|
|
|
|
|
-# php 5.5
|
|
|
|
-RUN cd php-src \
|
|
|
|
- && git checkout PHP-5.5.38 \
|
|
|
|
- && ./buildconf --force
|
|
|
|
-RUN cd php-src \
|
|
|
|
- && ./configure \
|
|
|
|
- --enable-bcmath \
|
|
|
|
- --with-gmp \
|
|
|
|
- --with-openssl \
|
|
|
|
- --with-zlib \
|
|
|
|
- --prefix=/usr/local/php-5.5 \
|
|
|
|
- && make \
|
|
|
|
- && make install \
|
|
|
|
- && make clean
|
|
|
|
-RUN cd php-src \
|
|
|
|
- && ./configure \
|
|
|
|
- --enable-maintainer-zts \
|
|
|
|
- --with-gmp \
|
|
|
|
- --with-openssl \
|
|
|
|
- --with-zlib \
|
|
|
|
- --prefix=/usr/local/php-5.5-zts \
|
|
|
|
- && make \
|
|
|
|
- && make install \
|
|
|
|
- && make clean
|
|
|
|
-
|
|
|
|
-RUN wget -O phpunit https://phar.phpunit.de/phpunit-4.phar \
|
|
|
|
- && chmod +x phpunit \
|
|
|
|
- && cp phpunit /usr/local/php-5.5/bin \
|
|
|
|
- && mv phpunit /usr/local/php-5.5-zts/bin
|
|
|
|
-
|
|
|
|
-# php 5.6
|
|
|
|
-RUN cd php-src \
|
|
|
|
- && git checkout PHP-5.6.39 \
|
|
|
|
- && ./buildconf --force
|
|
|
|
-RUN cd php-src \
|
|
|
|
- && ./configure \
|
|
|
|
- --enable-bcmath \
|
|
|
|
- --with-gmp \
|
|
|
|
- --with-openssl \
|
|
|
|
- --with-zlib \
|
|
|
|
- --prefix=/usr/local/php-5.6 \
|
|
|
|
- && make \
|
|
|
|
- && make install \
|
|
|
|
- && make clean
|
|
|
|
-RUN cd php-src \
|
|
|
|
- && ./configure \
|
|
|
|
- --enable-maintainer-zts \
|
|
|
|
- --with-gmp \
|
|
|
|
- --with-openssl \
|
|
|
|
- --with-zlib \
|
|
|
|
- --prefix=/usr/local/php-5.6-zts \
|
|
|
|
- && make \
|
|
|
|
- && make install \
|
|
|
|
- && make clean
|
|
|
|
-
|
|
|
|
-RUN wget -O phpunit https://phar.phpunit.de/phpunit-5.phar \
|
|
|
|
- && chmod +x phpunit \
|
|
|
|
- && cp phpunit /usr/local/php-5.6/bin \
|
|
|
|
- && mv phpunit /usr/local/php-5.6-zts/bin
|
|
|
|
-
|
|
|
|
# php 7.0
|
|
# php 7.0
|
|
RUN cd php-src \
|
|
RUN cd php-src \
|
|
&& git checkout PHP-7.0.33 \
|
|
&& git checkout PHP-7.0.33 \
|
|
@@ -122,6 +62,7 @@ RUN cd php-src \
|
|
RUN cd php-src \
|
|
RUN cd php-src \
|
|
&& ./configure \
|
|
&& ./configure \
|
|
--enable-bcmath \
|
|
--enable-bcmath \
|
|
|
|
+ --enable-mbstring \
|
|
--with-gmp \
|
|
--with-gmp \
|
|
--with-openssl \
|
|
--with-openssl \
|
|
--with-zlib \
|
|
--with-zlib \
|
|
@@ -132,6 +73,7 @@ RUN cd php-src \
|
|
RUN cd php-src \
|
|
RUN cd php-src \
|
|
&& ./configure \
|
|
&& ./configure \
|
|
--enable-maintainer-zts \
|
|
--enable-maintainer-zts \
|
|
|
|
+ --enable-mbstring \
|
|
--with-gmp \
|
|
--with-gmp \
|
|
--with-openssl \
|
|
--with-openssl \
|
|
--with-zlib \
|
|
--with-zlib \
|
|
@@ -152,6 +94,7 @@ RUN cd php-src \
|
|
RUN cd php-src \
|
|
RUN cd php-src \
|
|
&& ./configure \
|
|
&& ./configure \
|
|
--enable-bcmath \
|
|
--enable-bcmath \
|
|
|
|
+ --enable-mbstring \
|
|
--with-gmp \
|
|
--with-gmp \
|
|
--with-openssl \
|
|
--with-openssl \
|
|
--with-zlib \
|
|
--with-zlib \
|
|
@@ -162,6 +105,7 @@ RUN cd php-src \
|
|
RUN cd php-src \
|
|
RUN cd php-src \
|
|
&& ./configure \
|
|
&& ./configure \
|
|
--enable-maintainer-zts \
|
|
--enable-maintainer-zts \
|
|
|
|
+ --enable-mbstring \
|
|
--with-gmp \
|
|
--with-gmp \
|
|
--with-openssl \
|
|
--with-openssl \
|
|
--with-zlib \
|
|
--with-zlib \
|
|
@@ -170,7 +114,7 @@ RUN cd php-src \
|
|
&& make install \
|
|
&& make install \
|
|
&& make clean
|
|
&& make clean
|
|
|
|
|
|
-RUN wget -O phpunit https://phar.phpunit.de/phpunit-7.phar \
|
|
|
|
|
|
+RUN wget -O phpunit https://phar.phpunit.de/phpunit-7.5.0.phar \
|
|
&& chmod +x phpunit \
|
|
&& chmod +x phpunit \
|
|
&& cp phpunit /usr/local/php-7.1/bin \
|
|
&& cp phpunit /usr/local/php-7.1/bin \
|
|
&& mv phpunit /usr/local/php-7.1-zts/bin
|
|
&& mv phpunit /usr/local/php-7.1-zts/bin
|
|
@@ -182,6 +126,7 @@ RUN cd php-src \
|
|
RUN cd php-src \
|
|
RUN cd php-src \
|
|
&& ./configure \
|
|
&& ./configure \
|
|
--enable-bcmath \
|
|
--enable-bcmath \
|
|
|
|
+ --enable-mbstring \
|
|
--with-gmp \
|
|
--with-gmp \
|
|
--with-openssl \
|
|
--with-openssl \
|
|
--with-zlib \
|
|
--with-zlib \
|
|
@@ -192,6 +137,7 @@ RUN cd php-src \
|
|
RUN cd php-src \
|
|
RUN cd php-src \
|
|
&& ./configure \
|
|
&& ./configure \
|
|
--enable-maintainer-zts \
|
|
--enable-maintainer-zts \
|
|
|
|
+ --enable-mbstring \
|
|
--with-gmp \
|
|
--with-gmp \
|
|
--with-openssl \
|
|
--with-openssl \
|
|
--with-zlib \
|
|
--with-zlib \
|
|
@@ -200,7 +146,7 @@ RUN cd php-src \
|
|
&& make install \
|
|
&& make install \
|
|
&& make clean
|
|
&& make clean
|
|
|
|
|
|
-RUN wget -O phpunit https://phar.phpunit.de/phpunit-7.phar \
|
|
|
|
|
|
+RUN wget -O phpunit https://phar.phpunit.de/phpunit-7.5.0.phar \
|
|
&& chmod +x phpunit \
|
|
&& chmod +x phpunit \
|
|
&& cp phpunit /usr/local/php-7.2/bin \
|
|
&& cp phpunit /usr/local/php-7.2/bin \
|
|
&& mv phpunit /usr/local/php-7.2-zts/bin
|
|
&& mv phpunit /usr/local/php-7.2-zts/bin
|
|
@@ -212,6 +158,7 @@ RUN cd php-src \
|
|
RUN cd php-src \
|
|
RUN cd php-src \
|
|
&& ./configure \
|
|
&& ./configure \
|
|
--enable-bcmath \
|
|
--enable-bcmath \
|
|
|
|
+ --enable-mbstring \
|
|
--with-gmp \
|
|
--with-gmp \
|
|
--with-openssl \
|
|
--with-openssl \
|
|
--with-zlib \
|
|
--with-zlib \
|
|
@@ -222,6 +169,7 @@ RUN cd php-src \
|
|
RUN cd php-src \
|
|
RUN cd php-src \
|
|
&& ./configure \
|
|
&& ./configure \
|
|
--enable-maintainer-zts \
|
|
--enable-maintainer-zts \
|
|
|
|
+ --enable-mbstring \
|
|
--with-gmp \
|
|
--with-gmp \
|
|
--with-openssl \
|
|
--with-openssl \
|
|
--with-zlib \
|
|
--with-zlib \
|
|
@@ -230,7 +178,7 @@ RUN cd php-src \
|
|
&& make install \
|
|
&& make install \
|
|
&& make clean
|
|
&& make clean
|
|
|
|
|
|
-RUN wget -O phpunit https://phar.phpunit.de/phpunit-7.phar \
|
|
|
|
|
|
+RUN wget -O phpunit https://phar.phpunit.de/phpunit-7.5.0.phar \
|
|
&& chmod +x phpunit \
|
|
&& chmod +x phpunit \
|
|
&& cp phpunit /usr/local/php-7.3/bin \
|
|
&& cp phpunit /usr/local/php-7.3/bin \
|
|
&& mv phpunit /usr/local/php-7.3-zts/bin
|
|
&& mv phpunit /usr/local/php-7.3-zts/bin
|
|
@@ -253,6 +201,8 @@ RUN cd /var/local/php-src-php-7.4.0 \
|
|
&& ./buildconf --force \
|
|
&& ./buildconf --force \
|
|
&& ./configure \
|
|
&& ./configure \
|
|
--enable-bcmath \
|
|
--enable-bcmath \
|
|
|
|
+ --enable-mbstring \
|
|
|
|
+ --disable-mbregex \
|
|
--with-gmp \
|
|
--with-gmp \
|
|
--with-openssl \
|
|
--with-openssl \
|
|
--with-zlib \
|
|
--with-zlib \
|
|
@@ -264,6 +214,8 @@ RUN cd /var/local/php-src-php-7.4.0 \
|
|
&& ./buildconf --force \
|
|
&& ./buildconf --force \
|
|
&& ./configure \
|
|
&& ./configure \
|
|
--enable-maintainer-zts \
|
|
--enable-maintainer-zts \
|
|
|
|
+ --enable-mbstring \
|
|
|
|
+ --disable-mbregex \
|
|
--with-gmp \
|
|
--with-gmp \
|
|
--with-openssl \
|
|
--with-openssl \
|
|
--with-zlib \
|
|
--with-zlib \
|