Docker: drop apt-get clean usage.

It's automatic in the Debian and Ubuntu containers: 5cf7949ecf/scripts/debuerreotype-minimizing-config (L85-L109)
This commit is contained in:
Konstantin Pavlov
2023-04-06 20:43:22 -07:00
parent 472c6d0fb0
commit 5d83ee6660

View File

@@ -70,7 +70,7 @@ RUN set -ex \
&& apt-get update \
&& apt-get --no-install-recommends --no-install-suggests -y install curl $(cat /requirements.apt) \
&& apt-get purge -y --auto-remove \
&& apt-get clean && rm -rf /var/lib/apt/lists/* \
&& rm -rf /var/lib/apt/lists/* \
&& rm -f /requirements.apt \
&& ln -sf /dev/stdout /var/log/unit.log