Docker: drop apt-get clean usage.

It's automatic in the Debian and Ubuntu containers: https://github.com/debuerreotype/debuerreotype/blob/5cf7949ecf1cec1afece267688bda64cd34a6817/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
+1 -1
View File
@@ -70,7 +70,7 @@ RUN set -ex \
&& apt-get update \ && apt-get update \
&& apt-get --no-install-recommends --no-install-suggests -y install curl $(cat /requirements.apt) \ && apt-get --no-install-recommends --no-install-suggests -y install curl $(cat /requirements.apt) \
&& apt-get purge -y --auto-remove \ && 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 \ && rm -f /requirements.apt \
&& ln -sf /dev/stdout /var/log/unit.log && ln -sf /dev/stdout /var/log/unit.log