Skip to content

Commit

Permalink
Merge pull request #6 from PowerLoom/testnet_prep
Browse files Browse the repository at this point in the history
force docker pull
  • Loading branch information
SwaroopH authored Feb 16, 2024
2 parents ca8e736 + b19b7cf commit 8f05536
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,17 @@ echo "building...";

if ! [ -x "$(command -v docker-compose)" ]; then
echo 'docker compose not found, trying to see if compose exists within docker';
docker compose pull;
if [ "$IPFS_URL" ]; then
docker compose --profile ipfs up -V --abort-on-container-exit
else
docker compose up --no-deps -V --abort-on-container-exit
fi
else
docker compose pull;
if [ "$IPFS_URL" ]; then
docker-compose --profile ipfs up -V --abort-on-container-exit
else
docker-compose up --no-deps -V --abort-on-container-exit
fi
fi
fi

0 comments on commit 8f05536

Please sign in to comment.