Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
Docker : fix Makefile
  • Loading branch information
Myddleware authored Feb 14, 2022
1 parent d739dac commit 11af9b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ clean:
@docker-compose run --rm --no-deps myddleware bash docker/script/clean.sh

wait:
@docker-compose up -d mysql
@docker-compose exec mysql sh -c "while ! (mysqladmin ping -uroot > /dev/null 2>&1); do sleep 1; done"
@docker-compose run --rm myddleware bash -c "while ! (mysqladmin ping -uroot -hmysql > /dev/null 2>&1); do sleep 1; done"

clean-cache:
@docker-compose -f docker-compose.yml run --rm myddleware rm -fr var/cache/*
Expand Down

0 comments on commit 11af9b1

Please sign in to comment.