mirror of
https://github.com/matthiasmullie/minify.git
synced 2025-02-22 07:12:39 +01:00
Don't install libzip for more recent php versions
This commit is contained in:
parent
6da68a1d6a
commit
227f190624
@ -31,3 +31,8 @@ after_success:
|
||||
|
||||
after_script:
|
||||
- make down PHP=$(phpenv version-name)
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- php: 7.4
|
||||
- php: 8.0
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user