From 06d010551418127f780c207ebe15956afb099811 Mon Sep 17 00:00:00 2001 From: Abdelrahman Omran Date: Wed, 27 Jun 2018 12:46:27 +0200 Subject: [PATCH] Fix PHP zip extension installation warnings (#1648) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: ======================================================== --- php-fpm/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/php-fpm/Dockerfile b/php-fpm/Dockerfile index b57f05eb..77e0e860 100644 --- a/php-fpm/Dockerfile +++ b/php-fpm/Dockerfile @@ -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