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 <vieno@chemnitz.freifunk.net>
This commit is contained in:
parent
b11d983bbc
commit
200e302a56
@ -21,6 +21,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
ecdsautils \
|
ecdsautils \
|
||||||
lua-check \
|
lua-check \
|
||||||
shellcheck \
|
shellcheck \
|
||||||
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN useradd -d /gluon gluon
|
RUN useradd -d /gluon gluon
|
||||||
|
Loading…
Reference in New Issue
Block a user