cdf469c8db
* Change the dpkg default behavior in slave, and docker-base, in order to prevent prompt * Move to right place
31 lines
999 B
Plaintext
31 lines
999 B
Plaintext
## Drop unnecessary files
|
||
## ref: https://wiki.ubuntu.com/ReducingDiskFootprint
|
||
|
||
## Documentation
|
||
path-exclude /usr/share/doc/*
|
||
# we need to keep copyright files for legal reasons
|
||
path-include /usr/share/doc/*/copyright
|
||
path-exclude /usr/share/man/*
|
||
path-exclude /usr/share/groff/*
|
||
path-exclude /usr/share/info/*
|
||
# lintian stuff is small, but really unnecessary
|
||
path-exclude /usr/share/lintian/*
|
||
path-exclude /usr/share/linda/*
|
||
|
||
## Translations
|
||
path-exclude /usr/share/locale/*
|
||
|
||
## Landscape
|
||
path-exclude /usr/share/pyshared/twisted/test*
|
||
path-exclude /usr/lib/python*/dist-packages/twisted/test*
|
||
path-exclude /usr/share/pyshared/twisted/*/test*
|
||
path-exclude /usr/lib/python*/dist-packages/twisted/*/test*
|
||
|
||
## install the configuration file if it’s currently missing
|
||
force-confmiss
|
||
## combined with confold: overwrite configuration files that you have not modified
|
||
force-confdef
|
||
## do not modify the current configuration file, the new version is installed with a .dpkg-dist suffix
|
||
force-confold
|
||
|