Don't install libzip for more recent php versions

This commit is contained in:
Matthias Mullie 2020-12-27 22:20:48 +01:00
parent 6da68a1d6a
commit 227f190624
2 changed files with 6 additions and 1 deletions

View File

@ -31,3 +31,8 @@ after_success:
after_script:
- make down PHP=$(phpenv version-name)
matrix:
allow_failures:
- php: 7.4
- php: 8.0

View File

@ -6,7 +6,7 @@ WORKDIR /var/www
RUN apt-get update
RUN apt-get install -y zip unzip zlib1g-dev
RUN docker-php-ext-install zip
RUN if [[ `php-config --vernum` -ge 73000 ]]; then docker-php-ext-install zip; fi
RUN docker-php-ext-install pcntl
RUN curl -sS https://getcomposer.org/installer | php
RUN mv composer.phar /usr/local/bin/composer