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/.
This commit is contained in:
Vieno Hakkerinen 2022-11-07 11:31:26 +01:00
parent b11d983bbc
commit 0d3cae86b9
No known key found for this signature in database
GPG Key ID: E0E7D92BDC157564

View File

@ -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