APT Konfiguration - Linux

/etc/apt/apt.conf.d/docker-autoremove-suggests

Schnellaktionen

📥 Original herunterladen docker-autoremove-suggests

Konfigurationsdatei-Informationen

Konfigurationsdatei-Inhalt

/etc/apt/apt.conf.d/docker-autoremove-suggests
17 Zeilen
# 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";

        

Download-Befehle

docker-autoremove-suggests •

Lade die 100% original unveränderte Konfigurationsdatei herunter von APT

Mit wget:

wget -O docker-autoremove-suggests.example https://exampleconfig.com/api/v1/config/original/e99ea2a4a8db4dd2b5b90a60670d4fe0?hint=docker-autoremove-suggests

Mit curl:

curl https://exampleconfig.com/api/v1/config/original/e99ea2a4a8db4dd2b5b90a60670d4fe0?hint=docker-autoremove-suggests > docker-autoremove-suggests.example

Verwandte Konfigurationsdateien

Technische Details

Dateipfad
/etc/apt/apt.conf.d/docker-autoremove-suggests
Plattform
Linux
Dateigröße
17 Zeilen
Anwendung
APT
Kompatible Versionen
MD5-Prüfsumme
e99ea2a4a8db4dd2b5b90a60670d4fe0
SHA256-Prüfsumme
84cb100b000873f25f677cf23ab51f841eb490264fa496361591d6071aebf0f4