Commit ac818dbc authored by Tulio Ruiz's avatar Tulio Ruiz
Browse files

[ADD] Add dockerfiles for a minimal but optimized postgres special for ci jobs

parent 8f9f4c06
......@@ -3,4 +3,6 @@ docker-postgresql
Dockerfile for PostgreSQL instance using Ubuntu 14.04
Based on https://registry.hub.docker.com/_/postgres/
\ No newline at end of file
Based on https://registry.hub.docker.com/_/postgres/
The -ci images are meant for CI pipelines and quick tests, not for production use. Some important parameters that helps to keep consistency have been disabled in favor of speed.
FROM postgres:9.6-alpine
RUN mkdir -p /etc/postgresql/
COPY ./postgresql.conf /etc/postgresql/postgresql.conf
RUN chown postgres:postgres -R /etc/postgresql
CMD ["postgres", "-c", "config_file=/etc/postgresql/postgresql.conf"]
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment