From 4c78ee11259b524963b0dcacedaaa85e7718380c Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Wed, 10 Jul 2024 14:16:45 +0900 Subject: [PATCH] Do not remove runtime packages Closes: #1492 related: https://github.com/fluent/fluentd-docker-image/pull/383 Reported by @gpapaz Signed-off-by: Kentaro Hayashi --- templates/Dockerfile.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/Dockerfile.erb b/templates/Dockerfile.erb index 0ebd0bd36..4fed0854f 100644 --- a/templates/Dockerfile.erb +++ b/templates/Dockerfile.erb @@ -46,7 +46,7 @@ RUN buildDeps="sudo make gcc g++ libc-dev libffi-dev<% if target == "graylog" %> && mv columnify /usr/local/bin/ \ <% end %> && SUDO_FORCE_REMOVE=yes \ - apt-get purge -y --auto-remove \ + apt-get purge -y \ -o APT::AutoRemove::RecommendsImportant=false \ $buildDeps \ '*-dev' \