Skip to content

Commit 4f05adf

Browse files
committed
Install prestissimo only on composer v1
1 parent 455425b commit 4f05adf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ RUN mkdir /opt/composer \
9494
&& php /tmp/composer-setup "--${COMPOSER_VERSION}" --install-dir=/usr/bin --filename=composer \
9595
&& rm /tmp/composer-setup \
9696
&& composer global config bin-dir /usr/bin \
97-
&& composer global require phing/phing hirak/prestissimo \
97+
&& if [ "$COMPOSER_VERSION" = "1" ];then composer global require phing/phing hirak/prestissimo; fi \
9898
&& curl -L https://github.com/nicolas-van/multirun/releases/download/0.3.2/multirun-glibc-0.3.2.tar.gz | tar -xz -C /sbin \
9999
&& chmod +x /sbin/multirun \
100100
&& mkdir -p /var/www/html \

0 commit comments

Comments
 (0)