Browse Source

-d mode

master
Mayank 5 years ago
parent
commit
f694d1280f
No known key found for this signature in database GPG Key ID: D037D60476CE748C
  1. 8
      build-test.sh

8
build-test.sh

@ -7,15 +7,15 @@ echo "List of images to download: $IMAGES"
mkdir dockerpi mkdir dockerpi
echo "Running Docker Pi" echo "Running Docker Pi"
docker run -v dockerpi:/sdcard lukechilds/dockerpi --name "dockerpi" docker run --name dockerpi -v dockerpi:/sdcard lukechilds/dockerpi
docker ps docker ps
echo "Downloading install script" 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" echo "Running install script"
docker exec -i dockerpi ./docker-install.sh docker exec -d dockerpi ./docker-install.sh
echo "Pulling images in docker" echo "Pulling images in docker"
while IFS= read -r image; do 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" done <<< "$IMAGES"
ls dockerpi ls dockerpi
ls dockerpi/var/lib/tor ls dockerpi/var/lib/tor

Loading…
Cancel
Save