Cache and use cache of library origin code #465
Labels
kind/enhancement
New feature or request
priority/low
Nice to have issues thatare not urgent, but can be nagging.
To help in environments where remote internet access is not possible or to speed up "properclean" rebuilds, cache the origin library tarball/zip on disk. This issue tracks initially pulling and saving the origin code libraries as well as looking them up before invoking a
prepare
orbuild
step.To use the cache, ultimately, the
make
invocation command should be prefixed withLIB${LIBNAME}_URL
.https://github.com/unikraft/kraftkit/blob/staging/unikraft/app/application.go#L316-L319
We have to figure out how we set the appropriate name idiomatically in Go and how to gather the cache path, ultimately this feeds into
make.WithVar
:(Method names
lib.URL()
andlib.OriginCachePath()
are illustrative)Cache can be saved to a new path to be added in
config.KraftKit.Paths.Cache
.GitHub-Depends: #464
The text was updated successfully, but these errors were encountered: