3f138e899c
* Build a Docker base image based on Debian Stretch * Build a config-engine Docker image based on Stretch * Do not install socat from Debian repo * Add changes that were made to docker-base since this PR was opened
23 lines
706 B
Plaintext
23 lines
706 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*
|