Is there a way we could avoid apt-get install ... && rm -rf /var/lib/apt/lists/* in Dockerfiles? It seems kind of hacky to do a rm -rf by hand - there is probably an "official" way.
What's in /var/lib/apt/lists/ anyway - is it the cached list of installable packages from apt-get update?
Is there a way we could avoid
apt-get install ... && rm -rf /var/lib/apt/lists/*
in Dockerfiles? It seems kind of hacky to do arm -rf
by hand - there is probably an "official" way.What's in
/var/lib/apt/lists/
anyway - is it the cached list of installable packages fromapt-get update
?