anchor.diff:  FROM php:7.0-apache
   MAINTAINER atsu666
  +
  +# apache user
  +RUN usermod -u 1000 www-data \
  +    && groupmod -g 1000 www-data
   
   # extension
   RUN apt-get update \
       && apt-get install -y \
           libfreetype6-dev \
  +        libmagickwand-dev \
           libjpeg62-turbo-dev \
           libmcrypt-dev \
           libpng12-dev \
  
positive.code:     && docker-php-ext-install -j$(nproc) zip \
      && docker-php-ext-install mbstring \
      && docker-php-ext-install gettext \
      && docker-php-ext-install pdo_mysql
  
  # ioncube loader
  RUN curl -fsSL 'http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz' -o ioncube.tar.gz \
  
negative.code: # php.ini
  COPY config/php.ini /usr/local/etc/php/
  
  # apache
  RUN a2enmod rewrite
  RUN a2enmod ssl