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 authored and Shao Yu-Lung (Allen) committed 2018-06-27 18:46:27 +08:00
1 parent 0cbc51bf72
commit 06d0105514
1 file changed
+2
+2
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