Files
postgresrepmgr/Dockerfile
Bernhard Radermacher 1b6a43f113 start repmgrd
2026-02-20 14:17:14 +01:00

14 lines
417 B
Docker

FROM postgres:15
RUN apt-get update && \
apt-get install -y --no-install-recommends \
postgresql-$PG_MAJOR-repmgr \
&& \
rm -rf /var/lib/apt/lists/*
COPY --chmod=666 repmgr.conf /etc/repmgr.conf
COPY --chmod=644 --chown=postgres profile /var/lib/postgresql/.profile
COPY --chmod=755 postgres.sh /usr/local/bin/postgres
COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/