Clean APT CACHE from Dockerfile
All checks were successful
Fly Deploy / Deploy app (push) Successful in 2m10s
All checks were successful
Fly Deploy / Deploy app (push) Successful in 2m10s
This commit is contained in:
parent
b18534f384
commit
152ccf8ba5
|
@ -10,7 +10,10 @@ RUN --mount=type=cache,target=/usr/local/cargo,from=rust:latest,source=/usr/loca
|
||||||
# Runtime image
|
# Runtime image
|
||||||
FROM debian:bookworm-slim
|
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
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue