Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Distroless base image based BE container for enhanced security and reduces size #373

Open
rameshpolishetti opened this issue Jan 21, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@rameshpolishetti
Copy link
Collaborator

Context

When building a container images, developers often start with a base image which includes a full OS. OR one might use a base image that contains a light weight Linux distribution. However, most applications doesn't require whole features of that distribution. Distroless images offer a way to include only what is required i.e. application and its direct dependencies. These images effectively reduce the attack surface by excluding unnecessary tools, binaries, shell, etc.. this will also reduce that overall size of the container.

Evaluate following images as a base image for BE container:

https://docs.docker.com/build/building/base-images/#create-a-minimal-base-image-using-scratch

https://catalog.redhat.com/software/base-images
Refer to micro images.

Alternatives
NA

Has the feature been requested before?
NA

If the feature request is approved, would you be willing to submit a PR?
Yes

@rameshpolishetti rameshpolishetti added the enhancement New feature or request label Jan 21, 2025
@rameshpolishetti rameshpolishetti self-assigned this Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant