hercules-ci / arion

Run docker-compose with help from Nix/NixOS
Apache License 2.0
622 stars 48 forks source link

Reduce number of layers in built image #219

Open pippijn opened 9 months ago

pippijn commented 9 months ago

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 commented 9 months ago

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