title: How to reinstall the libzip distribution when build lumen in docker
body: <p>I use docker version Version 17.12.0-ce-mac55 (23011) on osx version 10.11.6. I have a problem when I build lumen on docker, but when the build process is finished there is an error like this :</p>
  
  <blockquote>
    <p>configure: error: Please reinstall the libzip distribution ERROR:
    Service 'app' failed to build: The command '/bin/sh -c apt-get update
    &amp;&amp; apt-get install -y libpng-dev libjpeg-dev libpq-dev     &amp;&amp; rm -rf
    /var/lib/apt/lists/*     &amp;&amp; docker-php-ext-configure gd
    --with-png-dir=/usr --with-jpeg-dir=/usr     &amp;&amp; docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql zip' returned a non-zero code: 1</p>
  </blockquote>
  
  <p>This is my dockerfile settings:
  <a href="https://i.stack.imgur.com/apMp1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/apMp1.png" alt="enter image description here"></a></p>
  
  <p>So the build process fails. Has anyone ever had a case like me? I hope someone can provide a solution.</p>