nix2container/go.mod
Antoine Eiche 6d364791da Build a graph of file trees before generating the tar stream
Before this commit, nix2container read the file tree of store paths
and write all file in the order they are walked by the os.Walk Go
function.

In this commit, the build process contains now two steps:
1. file trees are read and a graph representing these files is built
2. this graph is walk to write files to the tar stream

This allows to easily transform the file tree (filename rewritting for
instance) and also allow to easily detect duplicated files.
2022-10-28 18:48:52 +02:00

14 lines
349 B
Modula-2

module github.com/nlewo/nix2container
go 1.16
require (
github.com/containers/image/v5 v5.18.0
github.com/opencontainers/go-digest v1.0.0
github.com/opencontainers/image-spec v1.0.3-0.20211202193544-a5463b7f9c84
github.com/sirupsen/logrus v1.8.1
github.com/spf13/cobra v1.3.0
github.com/stretchr/testify v1.7.0
gonum.org/v1/gonum v0.11.0
)