From f694d1280fa4fa9c73e7896a719631269bdd39db Mon Sep 17 00:00:00 2001 From: Mayank Date: Sun, 5 Jul 2020 09:10:21 +0530 Subject: [PATCH] -d mode --- build-test.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build-test.sh b/build-test.sh index 4749097..66e2770 100755 --- a/build-test.sh +++ b/build-test.sh @@ -7,15 +7,15 @@ echo "List of images to download: $IMAGES" mkdir dockerpi echo "Running Docker Pi" -docker run -v dockerpi:/sdcard lukechilds/dockerpi --name "dockerpi" +docker run --name dockerpi -v dockerpi:/sdcard lukechilds/dockerpi docker ps echo "Downloading install script" -docker exec -i dockerpi curl -fsSL https://get.docker.com -o docker-install.sh +docker exec -d dockerpi curl -fsSL https://get.docker.com -o docker-install.sh echo "Running install script" -docker exec -i dockerpi ./docker-install.sh +docker exec -d dockerpi ./docker-install.sh echo "Pulling images in docker" while IFS= read -r image; do - docker exec -i docker pull --platform=linux/arm/v7 $image + docker exec -d docker pull --platform=linux/arm/v7 $image done <<< "$IMAGES" ls dockerpi ls dockerpi/var/lib/tor