From dc3fe34e7632c79c7be4381491df9ce16f0d1d09 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Tue, 2 May 2023 19:51:53 +0200 Subject: [PATCH] Ajout de apt et docker dans les scripts d'update --- share/updateall/commands.d/apt | 4 ++++ share/updateall/commands.d/docker | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 share/updateall/commands.d/apt create mode 100644 share/updateall/commands.d/docker diff --git a/share/updateall/commands.d/apt b/share/updateall/commands.d/apt new file mode 100644 index 0000000..70450e7 --- /dev/null +++ b/share/updateall/commands.d/apt @@ -0,0 +1,4 @@ +apt-get update +apt-get upgrade +apt-get autoremove + diff --git a/share/updateall/commands.d/docker b/share/updateall/commands.d/docker new file mode 100644 index 0000000..17908c7 --- /dev/null +++ b/share/updateall/commands.d/docker @@ -0,0 +1,3 @@ +docker images --format '{{.Repository}}' | xargs -L 1 docker pull +docker image prune +