commit
61168cb9d3
|
@ -299,23 +299,6 @@ RUN if [ ${INSTALL_AEROSPIKE_EXTENSION} = false ]; then \
|
||||||
rm /etc/php/5.6/cli/conf.d/aerospike.ini \
|
rm /etc/php/5.6/cli/conf.d/aerospike.ini \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
#####################################
|
|
||||||
# PHP V8JS:
|
|
||||||
#####################################
|
|
||||||
USER root
|
|
||||||
|
|
||||||
ARG INSTALL_V8JS_EXTENSION=false
|
|
||||||
ENV INSTALL_V8JS_EXTENSION ${INSTALL_V8JS_EXTENSION}
|
|
||||||
|
|
||||||
RUN if [ ${INSTALL_V8JS_EXTENSION} = true ]; then \
|
|
||||||
# Install the php V8JS extension
|
|
||||||
add-apt-repository -y ppa:pinepain/libv8-5.4 \
|
|
||||||
&& apt-get update \
|
|
||||||
&& apt-get install -y php-dev php-pear libv8-5.4 \
|
|
||||||
&& pecl install v8js \
|
|
||||||
&& echo "extension=v8js.so" >> /etc/php/5.6/cli/php.ini \
|
|
||||||
;fi
|
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# Non-root user : PHPUnit path
|
# Non-root user : PHPUnit path
|
||||||
#####################################
|
#####################################
|
||||||
|
|
|
@ -311,7 +311,7 @@ RUN if [ ${INSTALL_V8JS_EXTENSION} = true ]; then \
|
||||||
# Install the php V8JS extension
|
# Install the php V8JS extension
|
||||||
add-apt-repository -y ppa:pinepain/libv8-5.4 \
|
add-apt-repository -y ppa:pinepain/libv8-5.4 \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install -y php-dev php-pear libv8-5.4 \
|
&& apt-get install -y php7.0-xml php7.0-dev php-pear libv8-5.4 \
|
||||||
&& pecl install v8js \
|
&& pecl install v8js \
|
||||||
&& echo "extension=v8js.so" >> /etc/php/7.0/cli/php.ini \
|
&& echo "extension=v8js.so" >> /etc/php/7.0/cli/php.ini \
|
||||||
;fi
|
;fi
|
||||||
|
|
|
@ -307,7 +307,7 @@ RUN if [ ${INSTALL_V8JS_EXTENSION} = true ]; then \
|
||||||
# Install the php V8JS extension
|
# Install the php V8JS extension
|
||||||
add-apt-repository -y ppa:pinepain/libv8-5.4 \
|
add-apt-repository -y ppa:pinepain/libv8-5.4 \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install -y php-dev php-pear libv8-5.4 \
|
&& apt-get install -y php-xml php-dev php-pear libv8-5.4 \
|
||||||
&& pecl install v8js \
|
&& pecl install v8js \
|
||||||
&& echo "extension=v8js.so" >> /etc/php/7.1/cli/php.ini \
|
&& echo "extension=v8js.so" >> /etc/php/7.1/cli/php.ini \
|
||||||
;fi
|
;fi
|
||||||
|
|
Loading…
Reference in New Issue