Added docker file
This commit is contained in:
commit
18e453f71a
1 changed files with 7 additions and 0 deletions
7
Dockerfile
Normal file
7
Dockerfile
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
FROM deitch/mysql-backup
|
||||
|
||||
RUN pip3 install rotate-backups
|
||||
COPY rotate-dbbackups.sh /scripts.d/post-backup/rotate-dbbackups.sh
|
||||
RUN chmod +x /scripts.d/post-backup/rotate-dbbackups.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue