mirror of
https://github.com/nlewo/nix2container.git
synced 2024-09-11 16:36:39 +03:00
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.
14 lines
349 B
Modula-2
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
|
|
)
|