Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
8a1b3c45c8 | |||
ef267a64e6 | |||
0d086024a8 | |||
92e7a8559d |
@ -1,4 +1,4 @@
|
|||||||
FROM webdevops/apache:ubuntu-16.04
|
FROM webdevops/apache:ubuntu-18.04
|
||||||
|
|
||||||
LABEL maintainer="Eric Pfeiffer <computerfr33k@users.noreply.github.com>"
|
LABEL maintainer="Eric Pfeiffer <computerfr33k@users.noreply.github.com>"
|
||||||
|
|
||||||
|
@ -51,7 +51,11 @@ RUN set -xe; \
|
|||||||
#
|
#
|
||||||
# next lines are here becase there is no auto build on dockerhub see https://github.com/laradock/laradock/pull/1903#issuecomment-463142846
|
# next lines are here becase there is no auto build on dockerhub see https://github.com/laradock/laradock/pull/1903#issuecomment-463142846
|
||||||
libzip-dev zip unzip && \
|
libzip-dev zip unzip && \
|
||||||
docker-php-ext-configure zip --with-libzip && \
|
if [ ${LARADOCK_PHP_VERSION} = "7.3" ] || [ ${LARADOCK_PHP_VERSION} = "7.4" ]; then \
|
||||||
|
docker-php-ext-configure zip; \
|
||||||
|
else \
|
||||||
|
docker-php-ext-configure zip --with-libzip; \
|
||||||
|
fi && \
|
||||||
# Install the zip extension
|
# Install the zip extension
|
||||||
docker-php-ext-install zip && \
|
docker-php-ext-install zip && \
|
||||||
php -m | grep -q 'zip'
|
php -m | grep -q 'zip'
|
||||||
|
Reference in New Issue
Block a user