dockerTools.buildImage: do not add /nix/store in the tar stream
Since the /nix/store directory is not immutable, tar can fails if it has to push it into the layer archive. Fixes #34137.
This commit is contained in:
parent
1545f9062e
commit
ce838e52b9
1 changed files with 0 additions and 2 deletions
|
@ -476,8 +476,6 @@ rec {
|
|||
cp ${layer}/* temp/
|
||||
chmod ug+w temp/*
|
||||
|
||||
echo "$(dirname ${storeDir})" >> layerFiles
|
||||
echo '${storeDir}' >> layerFiles
|
||||
for dep in $(cat $layerClosure); do
|
||||
find $dep >> layerFiles
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue