Skip to content

Commit

Permalink
changed nix/buildsteps.sh from printing a single line multiple times
Browse files Browse the repository at this point in the history
  • Loading branch information
naterfute committed Nov 23, 2024
1 parent e2b6e0a commit 089cba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nix/buildsteps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ CONTAINER_NAME="mariadb"

docker-compose --project-directory ./nix/docker/maria/ up -d --force-recreate

echo "Waiting for MariaDB container to be healthy..."
until [ "$(docker inspect --format='{{.State.Health.Status}}' $CONTAINER_NAME)" == "healthy" ]; do
echo "Waiting for MariaDB container to be healthy..."
sleep 5
sleep 1
done

echo "MariaDB container is healthy. Proceeding with the script."
Expand Down

0 comments on commit 089cba2

Please sign in to comment.