Teamcity/postgres/Dockerfile
2019-02-13 23:45:41 +01:00

13 lines
No EOL
360 B
Docker

FROM postgres:9.5
# Add backup scripts
ADD backup.sh /usr/local/bin/backup
ADD restore.sh /usr/local/bin/restore
ADD list-backups.sh /usr/local/bin/list-backups
# Make them executable
RUN chmod +x /usr/local/bin/restore
RUN chmod +x /usr/local/bin/list-backups
RUN chmod +x /usr/local/bin/backup
COPY set-pg-conf.sh /docker-entrypoint-initdb.d/set-config.sh