Fixes the command

master
Baptiste Bouchereau 2019-03-04 22:42:43 +13:00
rodzic ffbd6ed285
commit 8567b17869
3 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -29,4 +29,4 @@ COPY entrypoint.sh /var/entrypoint.sh
RUN chmod +x /var/entrypoint.sh
ENTRYPOINT [ "/var/entrypoint.sh" ]
CMD ["cron" "-f"]
CMD ["cron", "-f"]

Wyświetl plik

@ -3,6 +3,7 @@ Borg backup cron
A docker image to backup periodically a folder using borg.
Additionnally this image can dump a mysql database in the same folder beforehand.
You can also run the cron job directly by overriding the command with `/var/backup_script.sh`
Build
-----

Wyświetl plik

@ -1,5 +1,6 @@
#!/bin/bash
bash set -eo pipefail
set -eo pipefail
shopt -s nullglob
# Add known hosts
if [[ -n "$SSH_KNOWN_HOSTS" ]]; then