dockerTools.buildImage: unpack base image layers in correct order

This commit is contained in:
Andrew Brooks 2021-12-17 18:28:10 -06:00
parent 7cb82ec614
commit 69ffb0004a

View file

@ -240,7 +240,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))