Use aanand/wait image to wait for service to be ready

This commit is contained in:
Loïc Guitaut
2015-09-09 19:02:06 +02:00
parent ecc5472aae
commit d551fb2d63
2 changed files with 4 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ if ! docker images | grep -e "^$PLUGIN_IMAGE " | grep -q "$PLUGIN_IMAGE_VERSION"
fi
docker pull svendowideit/ambassador:latest
docker pull aanand/wait:latest
mkdir -p "$PLUGIN_DATA_ROOT" || echo "Failed to create $PLUGIN_SERVICE directory"
chown dokku:dokku "$PLUGIN_DATA_ROOT"