title: Docker image build with PHP zip extension shows "bundled libzip is deprecated" warning
body: <p>I have a <code>Dockerfile</code> with a build command like this:</p>
  
  <pre><code>#install some base extensions
  RUN apt-get install -y \
          zlib1g-dev \
          zip \
    &amp;&amp; docker-php-ext-install zip
  </code></pre>
  
  <p>I get this warning from build output:</p>
  
  <blockquote>
    <p>WARNING: Use of bundled libzip is deprecated and will be removed.<br>
    configure: WARNING: Some features such as encryption and bzip2 are not available.<br>
    configure: WARNING: Use system library and --with-libzip is
    recommended.</p>
  </blockquote>
  
  <p>What is the correct way to install the zip extension without these warnings?</p>
  
  <p>My complete Dockerfile looks like:</p>
  
  <pre><code>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 \
    &amp;&amp; docker-php-ext-install zip
  
  #setup composer
  RUN curl -sS https://getcomposer.org/installer | php \
          &amp;&amp; mv composer.phar /usr/local/bin/ \
          &amp;&amp; ln -s /usr/local/bin/composer.phar /usr/local/bin/composer
  
  
  WORKDIR /var/www/
  </code></pre>