diff --git a/test/dockerfiles/postgres.dockerfile b/test/dockerfiles/postgres.dockerfile index 2466ffdecf70..01cb47182a41 100644 --- a/test/dockerfiles/postgres.dockerfile +++ b/test/dockerfiles/postgres.dockerfile @@ -2,7 +2,7 @@ ARG MODE # With test-containers building the same image many times have race conditions when deleting the images # We therefore add a unique ID just to make images different ARG UNIQUEID -FROM postgres:latest@sha256:8d3be35b184e70d81e54cbcbd3df3c0b47f37d06482c0dd1c140db5dbcc6a808 AS pg-tls +FROM postgres:latest@sha256:163763c8afd28cae69035ce84b12d8180179559c747c0701b3cad17818a0dbc5 AS pg-tls COPY pg_hba.conf /var/lib/postgresql/pg_hba.conf COPY certs/rootCA.crt /var/lib/postgresql/rootCA.crt COPY certs/postgres.server.crt /var/lib/postgresql/postgres.server.crt @@ -10,7 +10,7 @@ COPY certs/postgres.server.key /var/lib/postgresql/postgres.server.key RUN chown -R postgres /var/lib/postgresql && \ chmod 600 /var/lib/postgresql/postgres.server.key CMD ["-c", "ssl=on", "-c", "max_connections=10000", "-c", "ssl_cert_file=/var/lib/postgresql/postgres.server.crt", "-c", "ssl_key_file=/var/lib/postgresql/postgres.server.key", "-c", "ssl_ca_file=/var/lib/postgresql/rootCA.crt", "-c", "hba_file=/var/lib/postgresql/pg_hba.conf"] -FROM postgres:latest@sha256:8d3be35b184e70d81e54cbcbd3df3c0b47f37d06482c0dd1c140db5dbcc6a808 AS pg-standard +FROM postgres:latest@sha256:163763c8afd28cae69035ce84b12d8180179559c747c0701b3cad17818a0dbc5 AS pg-standard CMD ["-c", "max_connections=10000"] FROM pg-${MODE}