Skip to content

Add lockfile support to build-minirootfs and build-cpio#2101

Open
alexhaydock wants to merge 2 commits intochainguard-dev:mainfrom
alexhaydock:expanded-lockfile-support
Open

Add lockfile support to build-minirootfs and build-cpio#2101
alexhaydock wants to merge 2 commits intochainguard-dev:mainfrom
alexhaydock:expanded-lockfile-support

Conversation

@alexhaydock
Copy link

This is an attempt to satisfy my own feature request (#2085) by wiring up the pre-existing lockfile support used by apko build so that it also works for apko build-minirootfs and apko build-cpio.

I'm not the most familiar with the apko codebase and this deceptively simple but based on my testing, this does seem to be all that's required to get lockfile support functioning properly for both of these build modes.

This would be a really useful featureset as I've been using apko build-cpio to build reproducible Alpine initramfs images and having locking support would make this build pipeline incredibly powerful by giving it long-term reproducibility.

@alexhaydock alexhaydock force-pushed the expanded-lockfile-support branch from 462751d to d961029 Compare March 2, 2026 18:20
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

Successfully merging this pull request may close these issues.

1 participant