Use inbuilt init script

This commit is contained in:
Sandro Jäckel 2020-05-31 10:02:05 +02:00
parent 6901d10d54
commit 0b52d52f4a
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
4 changed files with 14 additions and 34 deletions

View file

@ -3,9 +3,3 @@ FROM postgres:10
# Do not require a PostgreSQL superuser password.
# See https://github.com/docker-library/postgres/issues/681.
ENV POSTGRES_HOST_AUTH_METHOD trust
ADD ./config/sql /config/sql
ADD ./docker/entrypoint.postgres.sh /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]
CMD [ "postgres" ]