Skip to content

Commit 6a77413

Browse files
dcermakSUSE Update Bot
authored andcommitted
Test build for #283
1 parent 25c4b82 commit 6a77413

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

postgres-10-image/Dockerfile

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

4545
STOPSIGNAL SIGINT
46+
HEALTHCHECK --interval=10s --start-period=10s --timeout=5s \
47+
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
@@ -43,3 +43,5 @@ RUN set -euo pipefail; chmod +x /usr/local/bin/docker-entrypoint.sh; \
4343
sed -ri "s|^#?(listen_addresses)\s*=\s*\S+.*|\1 = '*'|" /usr/share/postgresql12/postgresql.conf.sample
4444

4545
STOPSIGNAL SIGINT
46+
HEALTHCHECK --interval=10s --start-period=10s --timeout=5s \
47+
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
@@ -43,3 +43,5 @@ RUN set -euo pipefail; chmod +x /usr/local/bin/docker-entrypoint.sh; \
4343
sed -ri "s|^#?(listen_addresses)\s*=\s*\S+.*|\1 = '*'|" /usr/share/postgresql13/postgresql.conf.sample
4444

4545
STOPSIGNAL SIGINT
46+
HEALTHCHECK --interval=10s --start-period=10s --timeout=5s \
47+
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
@@ -44,3 +44,5 @@ RUN set -euo pipefail; chmod +x /usr/local/bin/docker-entrypoint.sh; \
4444
sed -ri "s|^#?(listen_addresses)\s*=\s*\S+.*|\1 = '*'|" /usr/share/postgresql14/postgresql.conf.sample
4545

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

0 commit comments

Comments
 (0)