anchor.diff:  FROM 1maa/alpine:3.12 AS build
   
   ENV PHP_VERSION=master
  -ENV GEARMAN_VERSION=2.0.6
  -ENV MAXMINDDB_VERSION=1.6.0
  -ENV MEMCACHED_VERSION=3.1.5
  -ENV XHPROF_VERSION=5.0.2
   
   ENV CFLAGS="-Os -march=x86-64"
   ENV LDFLAGS="-s"
  
positive.code: 
  RUN apk add --no-cache \
      argon2-libs \
      gearman-libs@edge-testing \
      gmp \
      gpgme \
      libcurl \
      libevent \
      libffi \
      libgd \
      libmaxminddb \
      libmemcached-libs \
      librdkafka \
      libsodium \
      libssh2 \
      libuv \
      libxml2 \
      libxslt \
      libzip \
      oniguruma \
      rabbitmq-c \
      readline \
      sqlite-libs \
   && rm /etc/php/mods-available/amqp.ini \
   && rm /etc/php/mods-available/ds.ini \
   && rm /etc/php/mods-available/event.ini \
   && rm /etc/php/mods-available/gearman.ini \
   && rm /etc/php/mods-available/gnupg.ini \
   && rm /etc/php/mods-available/maxminddb.ini \
   && rm /etc/php/mods-available/memcached.ini \
   && rm /etc/php/mods-available/mongodb.ini \
   && rm /etc/php/mods-available/msgpack.ini \
   && rm /etc/php/mods-available/protobuf.ini \
   && rm /etc/php/mods-available/rdkafka.ini \
   && rm /etc/php/mods-available/redis.ini \
   && rm /etc/php/mods-available/ssh2.ini \
   && rm /etc/php/mods-available/tideways_xhprof.ini \
   && rm /etc/php/mods-available/uv.ini \
   && rm /etc/php/mods-available/xdebug.ini \
   && rm /etc/php/mods-available/yar.ini
  
  EXPOSE 9000
  
  
negative.code:  && ./buildconf \
   && ./configure \
      EXTENSION_DIR="/usr/lib/php" \
   \
      --prefix=/usr \
      --sysconfdir=/etc/php/cli \
      --with-config-file-path=/etc/php/cli \
      --with-config-file-scan-dir=/etc/php/cli/conf.d \
   \
      --enable-cli \
      --disable-fpm \
      --disable-cgi \
      --disable-phpdbg \
   \
      --enable-bcmath \
      --enable-calendar \
      --enable-exif \
  