anchor.diff:  ARG BUILD_CHECK_SIGNATURE=true
   ARG BUILD_CUSTOM_URL=''
   ARG BUILD_REPO_URL=''
  +ARG BUILD_SECP256K1_REPO="https://github.com/jonasnick/secp256k1.git"
  +ARG BUILD_SECP256K1_COMMIT="a228e2f54d64692230ccb2937b12dd746c5157ed"
   
   ENV PHPIZE_DEPS \
   		autoconf \
  
positive.code: #    && php -d phar.readonly=0 generate-phpt/gtPackage.php \
  #    && cd /
  
  RUN cd / && git clone https://github.com/bitcoin-core/secp256k1.git \
      && cd secp256k1 && git checkout $SECP256K1_COMMIT \
      && ./autogen.sh \
      && ./configure --enable-benchmark=no --enable-tests=no --enable-experimental --enable-module-ecdh --enable-module-recovery \
      && make && make install && ldconfig
  
  ADD scripts/coverage.sh /usr/bin
  
negative.code: 		make \
  		pkg-config \
  		re2c
  ENV SECP256K1_REPO="$BUILD_SECP256K1_REPO"
  ENV SECP256K1_COMMIT="$BUILD_SECP256K1_COMMIT"
  ENV PHP_INI_DIR /usr/local/etc/php
  ENV PHP_CFLAGS="-fstack-protector-strong -fpic -fpie -O2"
  ENV PHP_CPPFLAGS="$PHP_CFLAGS"
  ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"
  ENV SECP256K1_CONFIGURE_FLAGS="--enable-benchmark=no --enable-tests=no --enable-experimental --enable-module-ecdh --enable-module-recovery --enable-module-schnorrsig"
  ENV GPG_KEYS="$BUILD_GPG_KEYS"
  ENV PHP_VERSION="$BUILD_PHP_VERSION"
  ENV PHP_URL="https://secure.php.net/get/php-$PHP_VERSION.tar.xz/from/this/mirror"
  