2019-04-13 17:04:54 +00:00
|
|
|
FROM restic/restic
|
|
|
|
|
|
|
|
ADD requirements.txt /
|
2019-04-13 21:29:28 +00:00
|
|
|
RUN apk update && apk add python3 dcron mariadb-client postgresql-client
|
2019-04-13 17:04:54 +00:00
|
|
|
RUN pip3 install -r requirements.txt
|
|
|
|
|
|
|
|
ADD restic-backup /restic-backup
|
|
|
|
|
|
|
|
WORKDIR /restic-backup
|
|
|
|
|
|
|
|
ENTRYPOINT []
|
|
|
|
CMD ["/restic-backup/entrypoint.sh"]
|