From d96a7fe6ba3c1dbd818b0896a625de4b9e83f065 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Sat, 26 Oct 2024 13:04:13 -0400 Subject: [PATCH] remove unnecessary qemu files to save space --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index c984cb0..3802f5c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -73,6 +73,8 @@ echo "TARGETARCH $TARGETARCH" && \ apt-get remove -y "${TEMP_PACKAGES[@]}"; \ fi && \ apt-get autoremove -y && \ + # delete unnecessary qemu binaries to save lots of space + { find /usr/bin -regex '/usr/bin/qemu-.*-static' | grep -v qemu-arm-static | xargs rm -vf {} || true; } && \ rm -rf /src/* /tmp/* /var/lib/apt/lists/* # add AIS-catcher and libairspyhf