Backend nows must expose a way to unpack rootfs of images

This commit is contained in:
Ettore Di Giacinto
2019-11-10 10:47:28 +01:00
parent fc93c9e3ea
commit c51c6264d7
3 changed files with 76 additions and 0 deletions

View File

@@ -91,6 +91,9 @@ func (*SimpleImg) ExportImage(opts compiler.CompilerBackendOptions) error {
}
// TODO: Dup in docker, refactor common code in helpers for shared parts
func (*SimpleImg) ExtractRootfs(opts compiler.CompilerBackendOptions, keepPerms bool) error {
return errors.New("Not implemented")
}
// TODO: Use container-diff (https://github.com/GoogleContainerTools/container-diff) for checking out layer diffs
// Changes uses container-diff (https://github.com/GoogleContainerTools/container-diff) for retrieving out layer diffs