Update images to Buster

This commit is contained in:
Jan Dittberner 2020-03-02 15:50:46 +01:00
parent 4f10e21a45
commit adacf12078
4 changed files with 6 additions and 6 deletions

View file

@ -13,7 +13,7 @@ EXPOSE 5432
VOLUME /var/lib/postgresql/
COPY pg_hba.conf /etc/postgresql/11/main/pg_hba.conf
COPY startup.sh /srv/
HEALTHCHECK CMD pg_isready -d postgres
HEALTHCHECK CMD su postgres -c 'pg_isready -d postgres'
ENTRYPOINT ["dumb-init"]
CMD "/srv/startup.sh"