14 lines
347 B
Docker
14 lines
347 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/*
|
|
|
|
RUN touch /etc/repmgr.conf && chmod 666 /etc/repmgr.conf
|
|
|
|
COPY profile /var/lib/postgresql/.profile
|
|
COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/
|
|
|