Initial implementation of layer format conversion from SquashFS to TAR.
Dump SquashFS layer to temporary file.
Run sqfs2tar against the SquashFS file, writing to a temporary TAR file.
(Optional) filter the tar through OverlayFS -> AUFS whiteout conversion.
Use the tar as the source for a ggcr tarball layer.
Closes #54
Note that this initial implementation is heavy on disk usage, as it must write both the SquashFS layer, and an uncompressed tarball, into the temporary directory. We should be able to improve things by:
Running sqfs2tar against a named pipe fed by Go code suppying the content of the squashfs layer.
Streaming the TAR STDOUT output from sqfs2tar back through the go code, instead of writing it to a file.
Initial implementation of layer format conversion from SquashFS to TAR.
sqfs2tar
against the SquashFS file, writing to a temporary TAR file.Closes #54
Note that this initial implementation is heavy on disk usage, as it must write both the SquashFS layer, and an uncompressed tarball, into the temporary directory. We should be able to improve things by:
sqfs2tar
against a named pipe fed by Go code suppying the content of the squashfs layer.sqfs2tar
back through the go code, instead of writing it to a file.