dockerTools.buildImage.runAsRoot: preserve layers ordering at image unpacking
This patch preserves the ordering of layers of a parent image when the image is unpacked. Fixes #55290
This commit is contained in:
parent
b6a6f7ac98
commit
fe6860800b
@ -200,7 +200,7 @@ rec {
|
|||||||
# Unpack all of the parent layers into the image.
|
# Unpack all of the parent layers into the image.
|
||||||
lowerdir=""
|
lowerdir=""
|
||||||
extractionID=0
|
extractionID=0
|
||||||
for layerTar in $(cat layer-list); do
|
for layerTar in $(tac layer-list); do
|
||||||
echo "Unpacking layer $layerTar"
|
echo "Unpacking layer $layerTar"
|
||||||
extractionID=$((extractionID + 1))
|
extractionID=$((extractionID + 1))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user