Files
postgresrepmgr/Dockerfile

14 lines
419 B
Docker
Raw Normal View History

2026-02-20 09:50:23 +01:00
FROM postgres:15
2026-02-18 10:24:06 +01:00
2026-02-20 09:50:23 +01:00
RUN apt-get update && \
apt-get install -y --no-install-recommends \
postgresql-$PG_MAJOR-repmgr \
&& \
rm -rf /var/lib/apt/lists/*
2026-02-18 10:24:06 +01:00
2026-02-20 11:06:41 +01:00
COPY --chmod=666 repmgr.conf /etc/repmgr.conf
COPY --chmod=644 --chown=postgres profile /var/lib/postgresql/.profile
2026-02-20 14:45:34 +01:00
# COPY --chmod=755 postgres.sh /usr/local/bin/postgres
2026-02-19 11:09:35 +01:00
COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/