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:
Abdelrahman Omran 2018-06-27 12:46:27 +02:00 committed by Shao Yu-Lung (Allen)
parent 0cbc51bf72
commit 06d0105514
1 changed files with 2 additions and 0 deletions

View File

@ -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