From 0d3cae86b990c4b3c53e69698e50c5e6da8dab0d Mon Sep 17 00:00:00 2001 From: Vieno Hakkerinen Date: Mon, 7 Nov 2022 11:31:26 +0100 Subject: [PATCH] contrib: remove downloaded *.deb files from OCI container `apt-get clean` clears out the local repository of retrieved package files. It removes everything but the lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/. --- contrib/docker/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/docker/Dockerfile b/contrib/docker/Dockerfile index 17452a2d..52bdf556 100644 --- a/contrib/docker/Dockerfile +++ b/contrib/docker/Dockerfile @@ -21,6 +21,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ ecdsautils \ lua-check \ shellcheck \ + && apt-get clean \ && rm -rf /var/lib/apt/lists/* RUN useradd -d /gluon gluon