Switch to ondisk also when unpacking FS

From benchmarks it seems to be still faster. Add a note for a future
improvement
This commit is contained in:
Ettore Di Giacinto
2021-10-26 13:37:39 +02:00
parent aea3cdff8d
commit 35fcd868ee
3 changed files with 7 additions and 2 deletions

View File

@@ -234,7 +234,7 @@ func (cs *LuetCompiler) unpackFs(concurrency int, keepPermissions bool, p *compi
}
}
img, err := cs.Backend.ImageReference(runnerOpts.ImageName, false)
img, err := cs.Backend.ImageReference(runnerOpts.ImageName, true)
if err != nil {
return nil, err
}