From bbceda77667f7dba9158ca66c1d1124a9df139f8 Mon Sep 17 00:00:00 2001 From: Mayank Date: Wed, 1 Jul 2020 23:13:32 +0530 Subject: [PATCH] Test run image pull --- stage0/00-configure-apt/00-run.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stage0/00-configure-apt/00-run.sh b/stage0/00-configure-apt/00-run.sh index 9d21ffb..8d143ed 100755 --- a/stage0/00-configure-apt/00-run.sh +++ b/stage0/00-configure-apt/00-run.sh @@ -15,3 +15,10 @@ on_chroot << EOF apt-get update apt-get dist-upgrade -y EOF + +on_chroot << EOF +wget -q "https://raw.githubusercontent.com/moby/moby/master/contrib/download-frozen-image-v2.sh" +chmod +x download-frozen-image-v2.sh +./download-frozen-image-v2.sh docker-images getumbrel/dashboard:latest +tar -cC 'target_dir' . | docker load +EOF \ No newline at end of file