From 5db41993f07dab0d84f6c73d67f71794cc1196ae Mon Sep 17 00:00:00 2001 From: Mayank Date: Sun, 5 Jul 2020 09:06:01 +0530 Subject: [PATCH] Make it non-interactive --- build-test.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build-test.sh b/build-test.sh index a88183b..4749097 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 -it -v dockerpi:/sdcard lukechilds/dockerpi --name "dockerpi" +docker run -v dockerpi:/sdcard lukechilds/dockerpi --name "dockerpi" docker ps echo "Downloading install script" -docker exec -it dockerpi curl -fsSL https://get.docker.com -o docker-install.sh +docker exec -i dockerpi curl -fsSL https://get.docker.com -o docker-install.sh echo "Running install script" -docker exec -it dockerpi ./docker-install.sh +docker exec -i dockerpi ./docker-install.sh echo "Pulling images in docker" while IFS= read -r image; do - docker exec -it docker pull --platform=linux/arm/v7 $image + docker exec -i docker pull --platform=linux/arm/v7 $image done <<< "$IMAGES" ls dockerpi ls dockerpi/var/lib/tor