Skip to content

Commit e8c5af9

Browse files
dcermakSUSE Update Bot
authored andcommitted
Test build for #283
1 parent ef6aad5 commit e8c5af9

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

postgres-10-image/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ RUN set -euo pipefail; chmod +x /usr/local/bin/docker-entrypoint.sh; \
4040
sed -ri "s|^#?(listen_addresses)\s*=\s*\S+.*|\1 = '*'|" /usr/share/postgresql10/postgresql.conf.sample
4141

4242
STOPSIGNAL SIGINT
43+
HEALTHCHECK --interval=10s --start-period=10s --timeout=5s \
44+
CMD pg_isready -U ${POSTGRES_USER:-postgres} -h localhost -p 5432

postgres-12-image/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ RUN set -euo pipefail; chmod +x /usr/local/bin/docker-entrypoint.sh; \
4040
sed -ri "s|^#?(listen_addresses)\s*=\s*\S+.*|\1 = '*'|" /usr/share/postgresql12/postgresql.conf.sample
4141

4242
STOPSIGNAL SIGINT
43+
HEALTHCHECK --interval=10s --start-period=10s --timeout=5s \
44+
CMD pg_isready -U ${POSTGRES_USER:-postgres} -h localhost -p 5432

postgres-13-image/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ RUN set -euo pipefail; chmod +x /usr/local/bin/docker-entrypoint.sh; \
4040
sed -ri "s|^#?(listen_addresses)\s*=\s*\S+.*|\1 = '*'|" /usr/share/postgresql13/postgresql.conf.sample
4141

4242
STOPSIGNAL SIGINT
43+
HEALTHCHECK --interval=10s --start-period=10s --timeout=5s \
44+
CMD pg_isready -U ${POSTGRES_USER:-postgres} -h localhost -p 5432

postgres-14-image/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@ RUN set -euo pipefail; chmod +x /usr/local/bin/docker-entrypoint.sh; \
4141
sed -ri "s|^#?(listen_addresses)\s*=\s*\S+.*|\1 = '*'|" /usr/share/postgresql14/postgresql.conf.sample
4242

4343
STOPSIGNAL SIGINT
44+
HEALTHCHECK --interval=10s --start-period=10s --timeout=5s \
45+
CMD pg_isready -U ${POSTGRES_USER:-postgres} -h localhost -p 5432

0 commit comments

Comments
 (0)