You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 731B

12345678910111213141516171819202122232425262728
  1. FROM robinthoni/postgres-backup-multiarch:9.6
  2. ARG CONFIG_DIR=/etc/default/config-files/
  3. RUN rm -rf /var/log/*
  4. COPY ./vars-vars /etc/vars-vars
  5. COPY ./vars-files /etc/vars-files
  6. COPY ./common.sh /common.sh
  7. COPY ./run.sh /run.sh
  8. RUN mv -v /usr/share/postgresql/$PG_MAJOR/pg_hba.conf.sample /usr/share/postgresql/ \
  9. && ln -sv ../pg_hba.conf.sample /usr/share/postgresql/$PG_MAJOR/
  10. RUN mkdir "${CONFIG_DIR}"
  11. COPY ./config/postgresql.conf "${CONFIG_DIR}"/postgresql.conf
  12. COPY ./config/pg_hba.conf "${CONFIG_DIR}"/pg_hba.conf
  13. COPY ./config/replication.sql "${CONFIG_DIR}"/replication.sql
  14. COPY ./config/readonly_user.sql "${CONFIG_DIR}"/readonly_user.sql
  15. COPY ./docker-entrypoint-initdb.d/ /docker-entrypoint-initdb.d