devops: remove apt clean steps as distroless misses it

Signed-off-by: Aaron Teo <aaron.teo1@ibm.com>
This commit is contained in:
Aaron Teo
2025-09-08 17:57:48 +08:00
parent e172b00445
commit 23d34f9a98

View File

@@ -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 /