anchor.diff:   && rm -rf /var/lib/apt/lists/*
   
   COPY runtime/ ${PG_APP_HOME}/
  +
   COPY entrypoint.sh /sbin/entrypoint.sh
  +
   RUN chmod 755 /sbin/entrypoint.sh
   
   EXPOSE 5432/tcp
  +
   WORKDIR ${PG_HOME}
  +
   ENTRYPOINT ["/sbin/entrypoint.sh"]
  
positive.code: FROM ubuntu:bionic-20180526
  LABEL maintainer="sameer@damagehead.com"
  
  ENV PG_APP_HOME="/etc/docker-postgresql" \
  
negative.code: ENV PG_BINDIR=/usr/lib/postgresql/${PG_VERSION}/bin \
      PG_DATADIR=${PG_HOME}/${PG_VERSION}/main
  
  COPY --from=add-apt-repositories /etc/apt/trusted.gpg /etc/apt/trusted.gpg
  
  COPY --from=add-apt-repositories /etc/apt/sources.list /etc/apt/sources.list
  
  RUN apt-get update \
   && DEBIAN_FRONTEND=noninteractive apt-get install -y acl sudo \
        postgresql-${PG_VERSION} postgresql-client-${PG_VERSION} postgresql-contrib-${PG_VERSION} \
   && ln -sf ${PG_DATADIR}/postgresql.conf /etc/postgresql/${PG_VERSION}/main/postgresql.conf \
  