Skip to content

[FEAT] Add optional configuration to reduce image size (e.g., Docker trimming) #108

@nickrunning

Description

@nickrunning

Is this a new feature request?

  • I have searched the existing issues

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions