Merge pull request #57505 from nlewo/fix-55290

dockerTools.buildImage.runAsRoot: preserve layers ordering at image unpacking
This commit is contained in:
lewo 2019-03-22 18:11:50 +01:00 committed by GitHub
commit 2b9aa0ac90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))