anchor.diff:   && make \
    && make install \
    && cd .. \
  - && git clone https://github.com/gavinwahl/postgres-json-schema \
  + && git clone --depth=1 https://github.com/gavinwahl/postgres-json-schema \
    && cd postgres-json-schema \
    && make install
   
  
positive.code: COPY postgresql.conf /etc/postgresql.conf
  
  RUN chown postgres:postgres /etc/postgresql.conf \
   && echo "@edge-main http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories \
   && echo "@edge-testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
   && apk --no-cache add \
      build-base \
      geos@edge-testing \
      gdal@edge-testing \
      json-c@edge-main \
      libxml2 \
      perl-dev \
      proj@edge-testing \
   && cpan TAP::Parser::SourceHandler::pgTAP \
   && apk del --no-cache -r build-base \
   && rm -rf \
  
negative.code: ENV PGTAP_VERSION v1.0.0
  ENV POSTGIS_VERSION 2.5.2
  
  RUN echo "@edge-testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
   && apk --no-cache add \
      build-base \
      geos-dev@edge-testing \
      gdal-dev@edge-testing \
      git \
      json-c-dev \
      libxml2-dev \
      perl \
      proj-dev@edge-testing \
      protobuf-c-dev \
   && wget -q https://download.osgeo.org/postgis/source/postgis-${POSTGIS_VERSION}.tar.gz \
   && tar zxf postgis-${POSTGIS_VERSION}.tar.gz \
   && cd postgis-${POSTGIS_VERSION} \
  