From 23d34f9a98d2133622ce00512d81923fc3b20c57 Mon Sep 17 00:00:00 2001 From: Aaron Teo Date: Mon, 8 Sep 2025 17:57:48 +0800 Subject: [PATCH] devops: remove apt clean steps as distroless misses it Signed-off-by: Aaron Teo --- .devops/s390x.Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.devops/s390x.Dockerfile b/.devops/s390x.Dockerfile index 995debcb04..ce5ef2049c 100644 --- a/.devops/s390x.Dockerfile +++ b/.devops/s390x.Dockerfile @@ -39,10 +39,7 @@ RUN apt update -y && \ apt upgrade -y && \ apt install -y libgomp1 curl && \ apt autoremove -y && \ - apt clean -y && \ - rm -rf /tmp/* /var/tmp/* && \ - find /var/cache/apt/archives /var/lib/apt/lists -not -name lock -type f -delete && \ - find /var/cache -type f -delete + apt clean -y COPY --from=build /opt/llama.cpp/bin /