diff options
author | Konstantin Pavlov <thresh@nginx.com> | 2023-04-06 20:43:22 -0700 |
---|---|---|
committer | Konstantin Pavlov <thresh@nginx.com> | 2023-04-06 20:43:22 -0700 |
commit | 5d83ee6660b5f58668e63671686726faf51c017d (patch) | |
tree | 1199e5e6b2677dc3d88ad2d3e63bd0c20618bc19 | |
parent | 472c6d0fb0e72846349a330b1658d3f95b6fc632 (diff) | |
download | unit-5d83ee6660b5f58668e63671686726faf51c017d.tar.gz unit-5d83ee6660b5f58668e63671686726faf51c017d.tar.bz2 |
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
-rw-r--r-- | pkg/docker/template.Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/docker/template.Dockerfile b/pkg/docker/template.Dockerfile index 36b2db1e..65c1442e 100644 --- a/pkg/docker/template.Dockerfile +++ b/pkg/docker/template.Dockerfile @@ -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 |