add docker build
This commit is contained in:
parent
5698d86756
commit
fa1b98365b
18 changed files with 686 additions and 0 deletions
12
docker/wait-for-file
Executable file
12
docker/wait-for-file
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
TIMEOUT=60
|
||||
TARGET="$1"
|
||||
|
||||
for i in `seq $TIMEOUT` ; do
|
||||
if [ -e "$TARGET" ]; then
|
||||
exit 0
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
echo "Giving up waiting for file $TARGET" >&2
|
||||
exit 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue