From 9b09bb7c91c863f7dc6de70f62433693aac4af2e Mon Sep 17 00:00:00 2001 From: Simon C Date: Sun, 7 Feb 2021 01:17:25 +0100 Subject: [PATCH] chore: Upgrade Alpine to 3.12.3 --- scripts/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/run b/scripts/run index c57af57..54ea98e 100755 --- a/scripts/run +++ b/scripts/run @@ -12,7 +12,7 @@ logs_backup() { echo "📥 Sauvegarde les logs" mkdir -p backups ssh $DOCKER_CONTEXT mkdir -p backups/${URL} - docker --context $DOCKER_CONTEXT run -t --rm -v $HOME/backups/${URL}:/backup -v ${NAME}-log:/logs alpine:3.12.2 ash -c "cd /logs && tar cvf /backup/${BACKUP_LOGS_FILENAME} ." + docker --context $DOCKER_CONTEXT run -t --rm -v $HOME/backups/${URL}:/backup -v ${NAME}-log:/logs alpine:3.12.3 ash -c "cd /logs && tar cvf /backup/${BACKUP_LOGS_FILENAME} ." ssh $DOCKER_CONTEXT "sudo chown kosssi:docker $HOME/backups/${URL}/${BACKUP_LOGS_FILENAME}" scp $DOCKER_CONTEXT:$HOME/backups/${URL}/${BACKUP_LOGS_FILENAME} backups } @@ -21,7 +21,7 @@ logs_restore() { echo "📤 Restaure les logs" ssh $DOCKER_CONTEXT mkdir -p backups/${URL} scp backups/${BACKUP_LOGS_FILENAME} $DOCKER_CONTEXT:$HOME/backups/${URL}/ - docker --context $DOCKER_CONTEXT run -t --rm -v $HOME/backups/${URL}:/backup -v ${NAME}-log:/logs alpine:3.12.2 ash -c "cd /logs && tar xvf /backup/${BACKUP_LOGS_FILENAME} --strip 1" + docker --context $DOCKER_CONTEXT run -t --rm -v $HOME/backups/${URL}:/backup -v ${NAME}-log:/logs alpine:3.12.3 ash -c "cd /logs && tar xvf /backup/${BACKUP_LOGS_FILENAME} --strip 1" } stats() {