Skip to content

Commit ef267a6

Browse files
committed
PHP 7.4 zip option removed
1 parent 0d08602 commit ef267a6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

php-fpm/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@ RUN set -xe; \
5151
#
5252
# next lines are here becase there is no auto build on dockerhub see https://github.com/laradock/laradock/pull/1903#issuecomment-463142846
5353
libzip-dev zip unzip && \
54-
docker-php-ext-configure zip --with-libzip && \
54+
if [ ${LARADOCK_PHP_VERSION} = "7.3" ] || [ ${LARADOCK_PHP_VERSION} = "7.4" ]; then \
55+
docker-php-ext-configure zip; \
56+
else \
57+
docker-php-ext-configure zip --with-libzip; \
58+
fi && \
5559
# Install the zip extension
5660
docker-php-ext-install zip && \
5761
php -m | grep -q 'zip'

0 commit comments

Comments
 (0)