From ca06077a9ae94e2509ef7146774e253ac319c2ab Mon Sep 17 00:00:00 2001 From: Benjamin Zimmerman Date: Mon, 2 Oct 2023 10:23:04 -0500 Subject: [PATCH] Remove apt cache This removes the apt cache to make the image a bit smaller --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3af4970..fadde53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,5 @@ FROM debian:12-slim WORKDIR /repo COPY run.sh /root -RUN apt update -RUN apt install createrepo-c -y +RUN apt update && apt install createrepo-c -y && apt clean CMD /root/run.sh \ No newline at end of file