dockerTools.buildImage: unpack base image layers in correct order

(cherry picked from commit 69ffb0004a)
This commit is contained in:
Andrew Brooks
2021-12-17 18:28:10 -06:00
committed by github-actions[bot]
parent 842f42399c
commit f75a48ba1b

View File

@@ -235,7 +235,7 @@ rec {
# Unpack all of the parent layers into the image.
lowerdir=""
extractionID=0
for layerTar in $(tac layer-list); do
for layerTar in $(cat layer-list); do
echo "Unpacking layer $layerTar"
extractionID=$((extractionID + 1))