We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d08602 commit ef267a6Copy full SHA for ef267a6
1 file changed
php-fpm/Dockerfile
@@ -51,7 +51,11 @@ RUN set -xe; \
51
#
52
# next lines are here becase there is no auto build on dockerhub see https://github.com/laradock/laradock/pull/1903#issuecomment-463142846
53
libzip-dev zip unzip && \
54
- docker-php-ext-configure zip --with-libzip && \
+ 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 && \
59
# Install the zip extension
60
docker-php-ext-install zip && \
61
php -m | grep -q 'zip'
0 commit comments