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

Reduce number of layers in built image #219

Open
pippijn opened this issue Nov 5, 2023 · 2 comments
Open

Reduce number of layers in built image #219

pippijn opened this issue Nov 5, 2023 · 2 comments

Comments

@pippijn
Copy link

pippijn commented Nov 5, 2023

Is there a way to override maxLayers? It's set to 100, which is way too much, because after that I can't use the image as a base for other images, which is what I'm using arion for: I want a full nixos in a docker image and then build other images off that base.

@roberth
Copy link
Member

roberth commented Nov 6, 2023

This could be made into an option that's forwarded to streamLayeredImage.

@iphydf
Copy link

iphydf commented Nov 4, 2024

That sounds good to me. I'd like it to be an option. Right now my workaround is to use multi-stage builds and do a COPY --from=base / /.

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

3 participants