Commit 06d01055 authored by Abdelrahman Omran's avatar Abdelrahman Omran Committed by Shao Yu-Lung (Allen)

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: ========================================================
parent 0cbc51bf
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment