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
@ -476,8 +476,6 @@ rec {
|
|||||||
cp ${layer}/* temp/
|
cp ${layer}/* temp/
|
||||||
chmod ug+w temp/*
|
chmod ug+w temp/*
|
||||||
|
|
||||||
echo "$(dirname ${storeDir})" >> layerFiles
|
|
||||||
echo '${storeDir}' >> layerFiles
|
|
||||||
for dep in $(cat $layerClosure); do
|
for dep in $(cat $layerClosure); do
|
||||||
find $dep >> layerFiles
|
find $dep >> layerFiles
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user