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.45 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.44 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.43 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.42 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.41 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.40 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.39 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.38 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.37 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.36 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.35 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.34 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.33 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.32 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.31 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.30 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.29 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.28 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.27 lib/generators/workarea/docker/templates/docker-wait.sh
workarea-core-3.4.26 lib/generators/workarea/docker/templates/docker-wait.sh