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 | d400896c9bb0118ee49b034e483c86396eb5cf55 (patch) | |
tree | b54c374fc77a8b599ec7e0f6cc8f850dc6191285 | |
parent | 8082237740e2346286dde740ed7f9d39b45a06e1 (diff) | |
download | unit-d400896c9bb0118ee49b034e483c86396eb5cf55.tar.gz unit-d400896c9bb0118ee49b034e483c86396eb5cf55.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 ba267649..9e8adb25 100644 --- a/pkg/docker/template.Dockerfile +++ b/pkg/docker/template.Dockerfile @@ -66,7 +66,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 |