From f01067d2000f5dc9e8019e1c575de4cd8b13d68a Mon Sep 17 00:00:00 2001 From: Cam Hutchison Date: Tue, 28 Nov 2023 10:55:20 +1100 Subject: [PATCH] Clean up after apt-get for smaller/cleaner image --- debian/12/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/12/Dockerfile b/debian/12/Dockerfile index c28ead0..59061a7 100644 --- a/debian/12/Dockerfile +++ b/debian/12/Dockerfile @@ -11,6 +11,8 @@ RUN set -x \ ca-certificates \ libffi-dev \ ruby-ffi \ + && apt-get -y clean \ + && rm -rf /var/lib/apt/lists/* \ && gem install fpm -v 1.15.1 \ && mkdir /src/