add docker build

This commit is contained in:
j 2019-07-06 18:12:32 +02:00 committed by root
commit fa1b98365b
18 changed files with 686 additions and 0 deletions

12
docker/wait-for-file Executable file
View 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