title: Install php7-gd in alpine
body: <p>This is my Dockerfile</p>
  
  <pre><code>FROM php:7.1-fpm-alpine
  RUN docker-php-ext-install mysqli 
  RUN echo "http://dl-4.alpinelinux.org/alpine/edge/community/" &gt;&gt;         /etc/apk/repositories &amp;&amp;
  apk update &amp;&amp; \
  apk upgrade &amp;&amp; \
  apk add --update \
      php7-gd
  </code></pre>
  
  <p>mysqli is ok, but it does not load GD library.</p>
  
  <p>I also find gd.so in alpine container, please check the image:</p>
  
  <p><a href="https://i.stack.imgur.com/qwbwj.png" rel="noreferrer"><img src="https://i.stack.imgur.com/qwbwj.png" alt="enter image description here"></a></p>
  
  <p>Please help</p>