horizon zip ext.
This commit is contained in:
parent
6a92eb0d58
commit
51ff09c187
|
@ -302,6 +302,7 @@ services:
|
||||||
- INSTALL_BZ2=${LARAVEL_HORIZON_INSTALL_BZ2}
|
- INSTALL_BZ2=${LARAVEL_HORIZON_INSTALL_BZ2}
|
||||||
- INSTALL_GMP=${LARAVEL_HORIZON_INSTALL_GMP}
|
- INSTALL_GMP=${LARAVEL_HORIZON_INSTALL_GMP}
|
||||||
- INSTALL_PGSQL=${PHP_FPM_INSTALL_PGSQL}
|
- INSTALL_PGSQL=${PHP_FPM_INSTALL_PGSQL}
|
||||||
|
- INSTALL_ZIP_ARCHIVE=${LARAVEL_HORIZON_INSTALL_ZIP_ARCHIVE}
|
||||||
- INSTALL_BCMATH=${PHP_FPM_INSTALL_BCMATH}
|
- INSTALL_BCMATH=${PHP_FPM_INSTALL_BCMATH}
|
||||||
- INSTALL_MEMCACHED=${PHP_FPM_INSTALL_MEMCACHED}
|
- INSTALL_MEMCACHED=${PHP_FPM_INSTALL_MEMCACHED}
|
||||||
- INSTALL_SOCKETS=${LARAVEL_HORIZON_INSTALL_SOCKETS}
|
- INSTALL_SOCKETS=${LARAVEL_HORIZON_INSTALL_SOCKETS}
|
||||||
|
|
|
@ -262,6 +262,7 @@ LARAVEL_HORIZON_INSTALL_BZ2=false
|
||||||
LARAVEL_HORIZON_INSTALL_GMP=false
|
LARAVEL_HORIZON_INSTALL_GMP=false
|
||||||
LARAVEL_HORIZON_INSTALL_SOCKETS=false
|
LARAVEL_HORIZON_INSTALL_SOCKETS=false
|
||||||
LARAVEL_HORIZON_INSTALL_YAML=false
|
LARAVEL_HORIZON_INSTALL_YAML=false
|
||||||
|
LARAVEL_HORIZON_INSTALL_ZIP_ARCHIVE=false
|
||||||
LARAVEL_HORIZON_INSTALL_PHPREDIS=true
|
LARAVEL_HORIZON_INSTALL_PHPREDIS=true
|
||||||
LARAVEL_HORIZON_INSTALL_MONGO=false
|
LARAVEL_HORIZON_INSTALL_MONGO=false
|
||||||
LARAVEL_HORIZON_INSTALL_FFMPEG=false
|
LARAVEL_HORIZON_INSTALL_FFMPEG=false
|
||||||
|
|
|
@ -79,6 +79,20 @@ RUN if [ ${INSTALL_PGSQL} = true ]; then \
|
||||||
&& docker-php-ext-install pdo_pgsql \
|
&& docker-php-ext-install pdo_pgsql \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
# Install ZipArchive:
|
||||||
|
ARG INSTALL_ZIP_ARCHIVE=false
|
||||||
|
RUN set -eux; \
|
||||||
|
if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
|
||||||
|
apk --update add libzip-dev && \
|
||||||
|
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
|
||||||
|
docker-php-ext-install zip \
|
||||||
|
;fi
|
||||||
|
|
||||||
# Install PhpRedis package:
|
# Install PhpRedis package:
|
||||||
ARG INSTALL_PHPREDIS=false
|
ARG INSTALL_PHPREDIS=false
|
||||||
RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
|
RUN if [ ${INSTALL_PHPREDIS} = true ]; then \
|
||||||
|
|
Loading…
Reference in New Issue