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.

29 lines
847 B

10 years ago
10 years ago
10 years ago
  1. FROM alpine:latest
  2. LABEL maintainer="Johannes Schickling <schickling.j@gmail.com>"
  3. ADD install.sh install.sh
  4. RUN sh install.sh && rm install.sh
  5. ENV MYSQLDUMP_OPTIONS --quote-names --quick --add-drop-table --add-locks --allow-keywords --disable-keys --extended-insert --single-transaction --create-options --comments --net_buffer_length=16384
  6. ENV MYSQLDUMP_EXTRA_OPTIONS ''
  7. ENV MYSQLDUMP_DATABASE --all-databases
  8. ENV MYSQL_HOST **None**
  9. ENV MYSQL_PORT 3306
  10. ENV MYSQL_USER **None**
  11. ENV MYSQL_PASSWORD **None**
  12. ENV S3_ACCESS_KEY_ID **None**
  13. ENV S3_SECRET_ACCESS_KEY **None**
  14. ENV S3_BUCKET **None**
  15. ENV S3_REGION us-west-1
  16. ENV S3_ENDPOINT **None**
  17. ENV S3_S3V4 no
  18. ENV S3_PREFIX 'backup'
  19. ENV S3_FILENAME **None**
  20. ENV S3_ENSURE_BUCKET_EXISTS yes
  21. ENV MULTI_FILES no
  22. ENV SCHEDULE **None**
  23. ADD run.sh run.sh
  24. ADD backup.sh backup.sh
  25. CMD ["sh", "run.sh"]