Fix PHP zip extension installation warnings (#1648)
This fixes the following warnings when installing "zip" php extension: configure: WARNING: ======================================================== configure: WARNING: Use of bundled libzip is deprecated and will be removed. configure: WARNING: Some features such as encryption and bzip2 are not available. configure: WARNING: Use system library and --with-libzip is recommended. configure: WARNING: ========================================================
This commit is contained in:
parent
0cbc51bf72
commit
06d0105514
|
@ -188,6 +188,8 @@ RUN if [ ${INSTALL_AMQP} = true ]; then \
|
|||
ARG INSTALL_ZIP_ARCHIVE=false
|
||||
|
||||
RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
|
||||
apt-get install libzip-dev -y && \
|
||||
docker-php-ext-configure zip --with-libzip && \
|
||||
# Install the zip extension
|
||||
docker-php-ext-install zip \
|
||||
;fi
|
||||
|
|
Loading…
Reference in New Issue