Skip to content

Commit 4cffb2f

Browse files
committed
Avoid to install PHP latest on a PHP 7.1 dockerfile
1 parent 92dda46 commit 4cffb2f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

workspace/Dockerfile-71

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ RUN if [ ${INSTALL_V8JS} = true ]; then \
409409
# Install the php V8JS extension
410410
add-apt-repository -y ppa:pinepain/libv8-5.4 \
411411
&& apt-get update -yqq \
412-
&& apt-get install -y php-xml php-dev php-pear libv8-5.4 \
412+
&& apt-get install -y php7.1-xml php7.1-dev php-pear libv8-5.4 \
413413
&& pecl install v8js \
414414
&& echo "extension=v8js.so" >> /etc/php/7.1/cli/php.ini \
415415
;fi
@@ -428,7 +428,8 @@ RUN echo "" >> ~/.bashrc && \
428428
# Laravel Envoy:
429429
#####################################
430430
USER root
431-
apt-get update -yqq \
431+
432+
RUN apt-get update -yqq \
432433
&& apt-get install -y php-curl
433434

434435
USER laradock

0 commit comments

Comments
 (0)