Sha256: 6d76cfffe3fb63e9f97798fb0d462afc0a0a55f97746e0a030a9864331070411

Contents?: true

Size: 417 Bytes

Versions: 34

Compression:

Stored size: 417 Bytes

Contents

#!/bin/bash
# Pass a command to run only after bundle is updated.
# This is used to allow only the web service to update bundle
# but have other services that need bundle to be updated to wait
# until the web service has finished updating before running the
# desired command to start the container's process.
# example: sh docker-wait.sh sidekiq

set -e
until bundle check > /dev/null 2>&1; do sleep 5; done
exec $@

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
workarea-core-3.4.25 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.24 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.23 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.22 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.21 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.20 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.19 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.18 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.17 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.16 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.15 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.14 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.13 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.12 lib/generators/workarea/docker/templates/docker-wait.sh