Clean APT CACHE from Dockerfile
All checks were successful
Fly Deploy / Deploy app (push) Successful in 2m10s

This commit is contained in:
Gabriel Simmer 2023-09-22 13:52:19 +01:00
parent b18534f384
commit 152ccf8ba5
Signed by: arch
SSH key fingerprint: SHA256:m3OEcdtrnBpMX+2BDGh/byv3hrCekCLzDYMdvGEKPPQ

View file

@ -10,7 +10,10 @@ RUN --mount=type=cache,target=/usr/local/cargo,from=rust:latest,source=/usr/loca
# Runtime image
FROM debian:bookworm-slim
RUN apt-get update -y && apt-get install -y ca-certificates fuse3 sqlite3
RUN apt-get update -y && apt-get install -y ca-certificates fuse3 sqlite3 && \
apt-get clean autoclean && \
apt-get autoremove --yes && \
rm -rf /var/lib/{apt,dpkg,cache,log}/
WORKDIR /app