Skip to content

Instantly share code, notes, and snippets.

@jberkus
Created October 30, 2015 01:18
Show Gist options
  • Save jberkus/e9a188ae409ead88409e to your computer and use it in GitHub Desktop.
Save jberkus/e9a188ae409ead88409e to your computer and use it in GitHub Desktop.
# This dockerfile is meant to help with setup and testing of
# patroni nodes. Unlike the prior docker setup, it relies on
# docker compose to set up multiple nodes.
FROM ubuntu:trusty
ADD . /setup/
RUN /setup/package_install.sh 9.4
RUN /setup/file_setup.sh
EXPOSE 8001 5432
ENTRYPOINT ["/bin/bash", "/scripts/entrypoint.sh"]
USER postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment