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. |
||
---|---|---|
.. | ||
graph-directory | ||
image-directory | ||
layer1 | ||
tar-directory | ||
closure-graph.json |