anchor.diff:                  export REWIND_VER=REL$(echo $version | sed 's/\./_/')_STABLE \
                   && apt-get source postgresql-${version} \
                   && curl -s -L https://github.com/vmware/pg_rewind/archive/${REWIND_VER}.tar.gz | tar xz \
  -                && make -C pg_rewind-${REWIND_VER} USE_PGXS=1 top_srcdir=$(ls -d ../postgresql-${version}-*) install \
  +                && make -C pg_rewind-${REWIND_VER} USE_PGXS=1 top_srcdir=../$(ls -d postgresql-${version}-*) install \
                   && rm -fr pg_rewind-${REWIND_VER} postgresql-${version}*; \
               fi \
   
  
positive.code:     && echo 'APT::Install-Suggests "0";' >> /etc/apt/apt.conf.d/01norecommend \
  
      && apt-get upgrade -y \
      # Install curl, jq, vim, gdb, strace
      && apt-get install -y curl ca-certificates jq pv vim gdb strace supervisor stunnel realpath \
  
      ## Make sure we have a en_US.UTF-8 locale available
      && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 \
  
negative.code:             && apt-get update \
  
              # Install PostgreSQL binaries, contrib, pgq, plproxy, pgq and multiple pl's
              && apt-get install --allow-downgrades -y postgresql-${version} postgresql-${version}-dbg \
                          postgresql-client-${version} postgresql-contrib-${version} postgresql-${version}-plproxy \
                          postgresql-${version}-pgq3 postgresql-${version}-postgis-2.3 postgresql-plpython3-${version} \
                          postgresql-plpython-${version} postgresql-${version}-plr postgresql-pltcl-${version} \
                          postgresql-${version}-plv8 postgresql-${version}-pllua postgresql-plperl-${version} \
                          libpq5=$version* libpq-dev=$version* postgresql-server-dev-${version} \
  