From 200e302a56146607254b45e4b3034ff99664b7bc Mon Sep 17 00:00:00 2001 From: txt-file <44214237+txt-file@users.noreply.github.com> Date: Mon, 7 Nov 2022 21:25:31 +0100 Subject: [PATCH] contrib: remove downloaded *.deb files from OCI container (#2697) `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/. Co-authored-by: Vieno Hakkerinen --- 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