Adaptation of the backup script to make it possible read variables from docker environment

This commit is contained in:
Paulino Padial
2018-01-24 00:58:29 +01:00
parent 2faf0c06f6
commit 3582badaeb
5 changed files with 1051 additions and 22 deletions

View File

@ -14,6 +14,8 @@ RUN apt-get update && apt-get upgrade -y && \
# Copy files to the image
ADD autopostgresqlbackup.conf /etc/default/autopostgresqlbackup
ADD autopostgresql /usr/sbin/autopostgresqlbackup
RUN chmod 755 /usr/sbin/autopostgresqlbackup
# Configure entrypoint
ADD docker-entrypoint.sh /docker-entrypoint.sh