Skip to content

Commit

Permalink
Do not remove runtime package
Browse files Browse the repository at this point in the history
#372
Above pull request introduces "apt-get purge '*-dev'",
it is intended to remove only needless development packages, but
actually --auto-remove removes also runtime packages.

This behavior is not intended at all, so drop --auto-remove option.

Signed-off-by: Kentaro Hayashi <[email protected]>
  • Loading branch information
kenhys committed Jul 10, 2024
1 parent e0a125a commit c6fd3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.template.erb
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ RUN apt-get update \
# https://github.com/fluent/fluentd-docker-image/pull/350
&& (echo "je_cv_madv_free=no" > config.cache) && ./configure -C && make \
&& mv lib/libjemalloc.so.2 /usr/lib \
&& apt-get purge -y --auto-remove \
&& apt-get purge -y \
-o APT::AutoRemove::RecommendsImportant=false \
$buildDeps \
'*-dev' \
Expand Down

0 comments on commit c6fd3fc

Please sign in to comment.