osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/35081?usp=email )


Change subject: scripts/docker-cleanup: buildkit cache too
......................................................................

scripts/docker-cleanup: buildkit cache too

In newer docker versions, a buildkit cache was introduced. It gets used
while building images. Clean it up as well.

Related: https://osmocom.org/projects/osmocom-servers/wiki/Docker_cache_clean_up
Change-Id: Icf5237def75d4bcef6b0065f3f1f1da2ff362322
---
M scripts/docker-cleanup.sh
1 file changed, 16 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/81/35081/1

diff --git a/scripts/docker-cleanup.sh b/scripts/docker-cleanup.sh
index 0d19d7d..b905d3c 100755
--- a/scripts/docker-cleanup.sh
+++ b/scripts/docker-cleanup.sh
@@ -41,3 +41,6 @@

 # remove unused networks older than 24 hours
 docker network prune --filter "until=24h" -f
+
+# remove docker buildkit cache
+docker builder prune --all --filter "until=24h" -f

--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/35081?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Icf5237def75d4bcef6b0065f3f1f1da2ff362322
Gerrit-Change-Number: 35081
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osm...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to