anchor.diff:      /usr/pgsql-9.5/bin/psql icemap2storage_ro admin -c "CREATE SCHEMA icemap;" && \
       /usr/pgsql-9.5/bin/psql icemap2storage_ro admin -c "CREATE SCHEMA icemap_static;" && \
       /usr/pgsql-9.5/bin/psql icemap2storage_ro admin -c "CREATE EXTENSION postgis SCHEMA public;" && \
  -#   /usr/pgsql-9.5/bin/psql -c "ALTER USER admin NOLOGIN;" && \
  -    /usr/pgsql-9.5/bin/pg_ctl -w -s -D ${PGDATA} -o "-p 5432" stop
  +#   /usr/pgsql-9.5/bin/psql -c "ALTER USER admin NOLOGIN;"
  +    /usr/pgsql-9.5/bin/pg_ctl -w -s -D ${PGDATA} -o "-p 5432" stop && \
   
  -# Populate database server from dumps. You might want to add
  -# --set ON_ERROR_STOP=on as an argument to psql, but the current fminames SQL
  -# dump will not load in that case.
  -RUN cd /tmp/ && pv -f fminames-test.sql.gz | gunzip > fminames.sql && \
  +    # Populate database server from dumps. You might want to add
  +    # --set ON_ERROR_STOP=on as an argument to psql, but the current fminames SQL
  +    # dump will not load in that case.
  +    cd /tmp/ && pv -f fminames-test.sql.gz | gunzip > fminames.sql && \
       /usr/pgsql-9.5/bin/pg_ctl -w -s -D ${PGDATA} -o "-p 5432" start && \
       pv -f /tmp/fminames.sql | /usr/pgsql-9.5/bin/psql fminames && \
       /usr/pgsql-9.5/bin/psql fminames -c "GRANT INSERT ON public.geonames TO fminames_user;" && \
  
positive.code:     rm /tmp/mosaic-radar-test.dmp.gz && \
      /usr/pgsql-9.5/bin/psql gis admin -c "GRANT USAGE ON SCHEMA mosaic TO gis_user;" && \
      /usr/pgsql-9.5/bin/psql gis admin -c "GRANT SELECT ON ALL TABLES IN SCHEMA mosaic TO gis_user;" && \
  
      /usr/pgsql-9.5/bin/pg_ctl -w -s -D ${PGDATA} -o "-p 5432" stop
  
  RUN chmod 0700 ${PGDATA}
  
  # PostgreSQL is set to listen on TCP port 5444.
  EXPOSE 5444
  
  #Launch the daemon
  ENTRYPOINT exec /usr/pgsql-9.5/bin/postgres -o "-p 5444" -D /var/lib/pgsql/data/9.5
  
negative.code: COPY icemap-copy.tar.gz /tmp
  COPY mosaic-radar-test.dmp.gz /tmp
  
  RUN tar xvf /tmp/icemap-copy.tar.gz -C /tmp && \
      mkdir -p ${PGDATA} && \
      mkdir -p /etc/provision /var/run/postgresql && \
      chown -R postgres ${PGDATA} /var/run/postgresql /tmp /etc/provision
  
  USER postgres
  