Is this a new feature request?
Wanted change
Add an optional configuration or build step to allow users to trim down the Docker image size. For example, provide options to remove unnecessary packages, minimize included files, or utilize Docker's image slimming techniques.
Reason for change
Reducing the image size can lead to faster downloads, improved security by decreasing the attack surface, and lower storage costs. This is especially useful for users with bandwidth or storage constraints, or those deploying at large scale.
Proposed code change
Consider integrating multi-stage builds, strip unnecessary files, or provide build arguments to toggle optional components. Explore using Docker's built-in features or third-party tools for image slimming.
Is this a new feature request?
Wanted change
Add an optional configuration or build step to allow users to trim down the Docker image size. For example, provide options to remove unnecessary packages, minimize included files, or utilize Docker's image slimming techniques.
Reason for change
Reducing the image size can lead to faster downloads, improved security by decreasing the attack surface, and lower storage costs. This is especially useful for users with bandwidth or storage constraints, or those deploying at large scale.
Proposed code change
Consider integrating multi-stage builds, strip unnecessary files, or provide build arguments to toggle optional components. Explore using Docker's built-in features or third-party tools for image slimming.