-
Notifications
You must be signed in to change notification settings - Fork 756
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix smoke-tests to more reliably use pg_isready.
- Loading branch information
Showing
2 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
3 changes: 2 additions & 1 deletion
3
cmd/postgres_exporter/tests/docker-postgres-replication/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
FROM postgres:10 | ||
FROM postgres:11 | ||
MAINTAINER Daniel Dent (https://www.danieldent.com) | ||
ENV PG_MAX_WAL_SENDERS 8 | ||
ENV PG_WAL_KEEP_SEGMENTS 8 | ||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y inetutils-ping | ||
COPY setup-replication.sh /docker-entrypoint-initdb.d/ | ||
COPY docker-entrypoint.sh /docker-entrypoint.sh | ||
RUN chmod +x /docker-entrypoint-initdb.d/setup-replication.sh /docker-entrypoint.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters