mirror of
https://github.com/trailofbits/buttercup
synced 2026-06-21 14:11:39 +00:00
6127ca8786
* deployment/charts: start dind first * Wait for DinD to be up and running
13 lines
279 B
Bash
Executable File
13 lines
279 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Wait for the Docker host to be ready to accept connections
|
|
if [ -n "$DOCKER_HOST" ]; then
|
|
echo "Waiting for Docker daemon to be ready..."
|
|
while ! docker info > /dev/null 2>&1; do
|
|
sleep 1
|
|
done
|
|
fi
|
|
|
|
# Run the command passed as arguments
|
|
exec "$@"
|