anchor.diff:          pdo_mysql \
           opcache \
           pcntl \
  +        bcmath \
   	exif \
   	mbstring \
       && docker-php-ext-configure gd \
  
positive.code:     && mv /usr/bin/envsubst /tmp/ \
      \
      && runDeps="$( \
          scanelf --needed --nobanner --format '%n#p' /usr/sbin/nginx /usr/lib/nginx/modules/*.so /tmp/envsubst \
              | tr ',' '\n' \
              | sort -u \
              | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
      )" \
      && apk add --no-cache --virtual .nginx-rundeps $runDeps \
      && apk del .build-deps \
      && apk del .gettext \
      && mv /tmp/envsubst /usr/local/bin/ \
      \
      # Bring in tzdata so users could set the timezones through the environment
      # variables
      && apk add --no-cache tzdata \
      \
      # forward request and error logs to docker log collector
      && ln -sf /dev/stdout /var/log/nginx/access.log \
      && ln -sf /dev/stderr /var/log/nginx/error.log
  
  #
  #--------------------------------------------------------------------------
  # Install dependencies and extensions
  
negative.code: COPY --from=stage0 / /
  CMD /usr/bin/supervisord -n -c /etc/supervisord/web.conf
  
  FROM php:7.3-fpm-alpine3.10 AS xdebug
  COPY --from=release / /
  
  # Add prerequisites for xdebug
  RUN apk add --no-cache $PHPIZE_DEPS
  
  # Install xdebug
  RUN pecl install xdebug-2.7.2
  
  # Configure xdebug for remote debugging with PhpStorm
  RUN echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
  