From 69ffb0004a2f447c6452c33483465e454504960a Mon Sep 17 00:00:00 2001 From: Andrew Brooks Date: Fri, 17 Dec 2021 18:28:10 -0600 Subject: [PATCH] dockerTools.buildImage: unpack base image layers in correct order --- pkgs/build-support/docker/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/docker/default.nix b/pkgs/build-support/docker/default.nix index 9a20df57777c..1b6c340f7f0c 100644 --- a/pkgs/build-support/docker/default.nix +++ b/pkgs/build-support/docker/default.nix @@ -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))