Open jvacek opened 1 year ago
Hi @jvacek !
The official postgres has support for passing the env var POSTGRES_INITDB_ARGS, which would be a lot less hacky than this and would allow me to shave off the extra time.
This repo based on the official "upstream" postgres images, so all official "upstream" - "Environment Variables" extensions should work with the postgis/postgis
images!
see: https://hub.docker.com/_/postgres/
So you can replace the postgres:15-bullseye
with postgis/postgis:15-3.3
and everything should work!
I want to init the DB with
--nosync
as I'm using it in CI for testing, and I do not care for persistence.Currently I do this in my job to achieve something similar
The official postgres has support for passing the env var
POSTGRES_INITDB_ARGS
, which would be a lot less hacky than this and would allow me to shave off the extra time.https://github.com/docker-library/postgres/search?q=POSTGRES_INITDB_ARGS