From 157731e4f86594cb0283b76032f4d8ed558e2a99 Mon Sep 17 00:00:00 2001 From: Geometrically <18202329+Geometrically@users.noreply.github.com> Date: Sun, 14 Nov 2021 17:49:55 -0700 Subject: [PATCH] Remove package lists to preserve space (#260) --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 76f54d251..7012c429f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,9 @@ RUN cargo build --release FROM debian:bullseye-slim RUN apt-get update \ - && apt-get install -y --no-install-recommends ca-certificates + && apt-get install -y --no-install-recommends ca-certificates \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* RUN update-ca-certificates