Mayank
5 years ago
No known key found for this signature in database
GPG Key ID: D037D60476CE748C
1 changed files with
5 additions and
0 deletions
-
build-test.sh
|
|
@ -6,9 +6,14 @@ IMAGES=$(grep '^\s*image' docker-compose.yml | sed 's/image://' | sed 's/\"//g' |
|
|
|
echo "List of images to download: $IMAGES" |
|
|
|
|
|
|
|
mkdir dockerpi |
|
|
|
echo "Running Docker Pi" |
|
|
|
docker run -it -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 |
|
|
|
echo "Running install script" |
|
|
|
docker exec -it 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 |
|
|
|
done <<< "$IMAGES" |
|
|
|