Improved support for non-default users and advanced container artifact permission and ownership management capabilities
New Features
- Option to set permissions, user and group information for the artifacts included with the
--include-*
parameters. - Option to overwrite the permissions and ownership info in the optimized image using the new
--path-perms
andpath-perms-file
parameters.
Improvements
- Option to run the containerized application using user and group information from the USER instruction.
- Ability to
keep
the permission and the ownership metadata for the artifacts copied to the optimized container image. - Filter leftover PID files.
- UX enhancements for the containers created using Dockerfiles.
- Additional debugging information.
Bug Fixes
- Support for special install directories on Linux (to prevent failures when
docker-slim
is trying to save its state).
Binaries
Build them from source or download from a CDN location: