Commit 88c68724 authored by Tulio Ruiz's avatar Tulio Ruiz
Browse files

[FIX] Force the use of the new entry point instead of the default one

parent 68b40c6d
FROM postgres:10-alpine
ENV LC_COLLATE "C"
RUN mkdir -p /etc/postgresql/conf.d
RUN mkdir -p /var/log/pg_log
RUN mkdir -p /etc/postgresql/conf.d \
&& mkdir -p /var/log/pg_log
COPY ./postgresql.conf /etc/postgresql/postgresql.conf
COPY ./pg_hba.conf /etc/postgresql/pg_hba.conf
COPY ./10-pgbadger_pre.conf /etc/postgresql/conf.d/10-pgbadger_pre.conf
COPY ./entry_point.sh /entry_point.sh
VOLUME ["/var/log/pg_log", "/var/lib/postgresql/data/pgdata"]
CMD ["/entry_point.sh"]
ENTRYPOINT ["/entry_point.sh"]
FROM postgres:11-alpine
ENV LC_COLLATE "C"
RUN mkdir -p /etc/postgresql/conf.d
RUN mkdir -p /var/log/pg_log
RUN mkdir -p /etc/postgresql/conf.d \
&& mkdir -p /var/log/pg_log
COPY ./postgresql.conf /etc/postgresql/postgresql.conf
COPY ./pg_hba.conf /etc/postgresql/pg_hba.conf
COPY ./10-pgbadger_pre.conf /etc/postgresql/conf.d/10-pgbadger_pre.conf
COPY ./entry_point.sh /entry_point.sh
VOLUME ["/var/log/pg_log", "/var/lib/postgresql/data/pgdata"]
CMD ["/entry_point.sh"]
ENTRYPOINT ["/entry_point.sh"]
FROM postgres:12-alpine
ENV LC_COLLATE "C"
RUN mkdir -p /etc/postgresql/conf.d
RUN mkdir -p /var/log/pg_log
RUN mkdir -p /etc/postgresql/conf.d \
&& mkdir -p /var/log/pg_log
COPY ./postgresql.conf /etc/postgresql/postgresql.conf
COPY ./pg_hba.conf /etc/postgresql/pg_hba.conf
COPY ./10-pgbadger_pre.conf /etc/postgresql/conf.d/10-pgbadger_pre.conf
COPY ./entry_point.sh /entry_point.sh
VOLUME ["/var/log/pg_log", "/var/lib/postgresql/data/pgdata"]
CMD ["/entry_point.sh"]
ENTRYPOINT ["/entry_point.sh"]
FROM postgres:13-alpine
ENV LC_COLLATE "C"
RUN mkdir -p /etc/postgresql/conf.d
RUN mkdir -p /var/log/pg_log
RUN mkdir -p /etc/postgresql/conf.d \
&& mkdir -p /var/log/pg_log
COPY ./postgresql.conf /etc/postgresql/postgresql.conf
COPY ./pg_hba.conf /etc/postgresql/pg_hba.conf
COPY ./10-pgbadger_pre.conf /etc/postgresql/conf.d/10-pgbadger_pre.conf
COPY ./entry_point.sh /entry_point.sh
VOLUME ["/var/log/pg_log", "/var/lib/postgresql/data/pgdata"]
CMD ["/entry_point.sh"]
ENTRYPOINT ["/entry_point.sh"]
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