I have a
Dockerfile with a build command like this:
#install some base extensions RUN apt-get install -y \ zlib1g-dev \ zip \ && docker-php-ext-install zip
I get this warning from build output:
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.
What is the correct way to install the zip extension without these warnings?
My complete Dockerfile looks like:
FROM php:7.2-apache RUN apt-get clean RUN apt-get update #install some basic tools RUN apt-get install -y \ git \ tree \ vim \ wget \ subversion #install some base extensions RUN apt-get install -y \ zlib1g-dev \ zip \ && docker-php-ext-install zip #setup composer RUN curl -sS https://getcomposer.org/installer | php \ && mv composer.phar /usr/local/bin/ \ && ln -s /usr/local/bin/composer.phar /usr/local/bin/composer WORKDIR /var/www/