Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace mime-support with media-types
mailcap was added back when the image was using centOS to add /etc/mime.types. See elastic#599 Later, the package registry moved to Ubuntu LTS and mailcap was replaced by mime-support which also installs mailcap. Now mime-support is a transitional package and we can replace it with media-types, to only install the file (/etc/mime.types) that we need. The issue with mailcap is the large dependency tree and the dependency on perl, by replacing mime-support with media-types we can reduce the image size. Before: 202MB After: 148MB
- Loading branch information