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

Add a feature/functionality to reduce the image size using dockerslim #1160

Open
dilipk8 opened this issue Nov 28, 2022 · 1 comment
Open

Comments

@dilipk8
Copy link

dilipk8 commented Nov 28, 2022

Is it possible to reduce the size of the image that shipwright helps in building - using Dockerslim - https://github.com/docker-slim/docker-slim

@SaschaSchwarze0
Copy link
Member

From grooming:

Thanks @dilipk8 for bringing up the idea.

We do not have experiences with Dockerslim ourselves but only heard of it.

In general, Shipwright builds images as defined in its build strategy and the image that is produced can very likely also be targeted with dockerslim. But this would happen outside of Shipwright.

Thinking about having it integrated into Shipwright or a build strategy, we are seeing mainly the obstacle that dockerslim requires to run a container to determine which parts are needed, and it may even send http calls therefore that. As Shipwright runs inside a Kubernetes cluster, we have no immediate idea how this would work.

But we can keep this issue open and if somebody wants to investigate on that and finds a solution, then this can be interesting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants