# Since Docker users are looking for the smallest possible final images, the
# following emerges as a very common pattern:
# RUN apt-get update \
# && apt-get install -y <packages> \
# && <do some compilation work> \
# && apt-get purge -y --auto-remove <packages>
# By default, APT will actually _keep_ packages installed via Recommends or
# Depends if another package Suggests them, even and including if the package
# that originally caused them to be installed is removed. Setting this to
# "false" ensures that APT is appropriately aggressive about removing the
# packages it added.
# https://aptitude.alioth.debian.org/doc/en/ch02s05s05.html#configApt-AutoRemove-SuggestsImportant
Apt::AutoRemove::SuggestsImportant "false";
Your Configuration
RemovedAdded
Drop file or click to browse
How to use this tool
1.Paste your configuration file or drag & drop it into the area above
2.The diff will appear instantly, showing differences between your config and the default
3.Green highlights show your additions, red shows what you've removed from the default
4.Use the toggle button to switch between side-by-side and unified diff views