feature(oci): use local index as resolution cache when appropriate, fixes #289 (#294)

This commit is contained in:
alex authored and GitHub committed 2024-07-31 23:05:15 +00:00
1 parent 902fffe207
commit 8216ab3602
9 files changed
+72 -5

No files matched your search

+7 -1
View File
@@ -37,7 +37,13 @@ async fn main() -> Result<()> {
});
let service = OciPackerService::new(seed, &cache_dir, OciPlatform::current()).await?;
let packed = service
.request(image.clone(), OciPackedFormat::Squashfs, false, context)
.request(
image.clone(),
OciPackedFormat::Squashfs,
false,
true,
context,
)
.await?;
println!(
"generated squashfs of {} to {}",