anchor.diff:      linux-headers \
       libtool \
       build-base \
  -    pcre-dev \
  +#    pcre-dev \
       zlib-dev \
       wget \
       gnupg \
  
positive.code:     libc-dev \
      make \
      pkgconf \
      curl-dev \
      ca-certificates \  
      # additional build packages              
      freetype-dev \
      openldap-dev \
      gmp-dev \
      icu-dev \
      postgresql-dev \
      libpng-dev \
      libwebp-dev \
      gd-dev \
      libjpeg-turbo-dev \
      libxpm-dev \
      libedit-dev \
      libxml2-dev \
      libressl-dev \
      libbz2 \
      sqlite-dev \
      imap-dev \
      ### runtime packages
      && apk add --no-cache --virtual .run-deps \
      s6 \
      su-exec \
      curl \
      libedit \
      libxml2 \
      libressl \
      libwebp \
      gd \
      pcre \
      zlib \
      freetype \
      openldap \
      gmp \
      bzip2-dev \
      icu \
      libpq \
      c-client
  
  # GPG key for nginx (http://nginx.org/en/pgp_keys.html)
  RUN gpg --keyserver keys.internet-sicherheit.de --recv-key \
          # Andrew Alexeev
          A09CD539B8BB8CBE96E82BDFABD4D3B3F5806B4D \
          # Igor Sysoev
  
negative.code:     --without-http_browser_module \        
      && make -j $(getconf _NPROCESSORS_CONF) \
      && make install \
      && apk del .build-deps \
      && rm -rf /tmp/* /var/cache/apk/* /usr/src/*
  
  COPY rootfs /
  