apko
apko copied to clipboard
Lock repos
A lock repo is a repository that contains all of the required artifacts needed to reproduce an apko
image.
The theory of operation behind this is that a user could run a command like apko lock
, which would:
- resolve the dependencies
- create an environment where
apk fetch
may be used - use
apk fetch
to fetch them - use
apk index
to index them
A user could then use apko publish ... --lock-repo whatever/
which would then generate a signing key on the fly, sign the index, and then use it in place of the configured repos in the YAML file.
This in theory would also solve #65.
Kicking this back to v0.5 so we can take advantage of apk-tools 2.12.10 apk fetch --world
feature.
Postponing to v0.6.
Will this enable hermetic builds?
Any update on this issue? Would be great to have reproducible builds for using apko in prod.