From afc649d6c882e70b77dbbe7c05cb0b664bc5c356 Mon Sep 17 00:00:00 2001 From: paspo Date: Thu, 2 May 2024 10:06:23 +0200 Subject: [PATCH] apt cleanup --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 636dbfc..594fb2f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,7 @@ COPY --from=prep /tmp/hugo.deb /tmp/hugo.deb RUN \ apt update && \ DEBIAN_FRONTEND=noninteractive apt -y upgrade && \ - apt install -y /tmp/hugo.deb && rm /tmp/hugo.deb + apt install -y /tmp/hugo.deb && \ + rm -rf /var/lib/apt/lists/ /tmp/hugo.deb ENTRYPOINT [ "/usr/local/bin/hugo" ]