Files
ObjectStore/tests/ha/Dockerfile
T
admin d73fa2c435
ObjectStore CI / build (push) Successful in 10m22s
Add shared cluster credentials and readiness CI
2026-11-16 03:41:32 +01:00

10 lines
431 B
Docker

FROM postgres:17-alpine
RUN apk add --no-cache python3 py3-pip py3-psycopg2 && \
python3 -m venv --system-site-packages /opt/patroni && \
/opt/patroni/bin/pip install --no-cache-dir 'patroni[etcd3]==4.1.5'
COPY patroni.yaml /etc/patroni.yaml
COPY bootstrap.sh /usr/local/bin/bootstrap-objectstore
RUN chmod 755 /usr/local/bin/bootstrap-objectstore
USER postgres
ENTRYPOINT ["/opt/patroni/bin/patroni", "/etc/patroni.yaml"]