Skip to content

Commit 85ee174

Browse files
Don't install libzip for more recent php versions
1 parent 6da68a1 commit 85ee174

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
@@ -6,7 +6,7 @@ WORKDIR /var/www
66

77
RUN apt-get update
88
RUN apt-get install -y zip unzip zlib1g-dev
9-
RUN docker-php-ext-install zip
9+
RUN if [[ `php-config --vernum` -ge 73000 ]]; then docker-php-ext-install zip; fi
1010
RUN docker-php-ext-install pcntl
1111
RUN curl -sS https://getcomposer.org/installer | php
1212
RUN mv composer.phar /usr/local/bin/composer

0 commit comments

Comments
 (0)