mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 02:47:39 +00:00
Merge pull request #57505 from nlewo/fix-55290
dockerTools.buildImage.runAsRoot: preserve layers ordering at image unpacking
This commit is contained in:
commit
2b9aa0ac90
@ -200,7 +200,7 @@ rec {
|
||||
# Unpack all of the parent layers into the image.
|
||||
lowerdir=""
|
||||
extractionID=0
|
||||
for layerTar in $(cat layer-list); do
|
||||
for layerTar in $(tac layer-list); do
|
||||
echo "Unpacking layer $layerTar"
|
||||
extractionID=$((extractionID + 1))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user