s3-resource-simple/test/out

22 lines
295 B
Text
Raw Normal View History

#!/bin/sh
set -e
source=$1
if [ -z "$source" ]; then
echo "usage: $0 </full/path/to/dir>"
exit 1
fi
2016-03-10 17:40:41 +01:00
json=$(cat config.json)
2016-03-11 00:31:20 +01:00
source "$(dirname $0)/build.sh"
2016-03-10 09:57:41 +01:00
echo $json | docker run \
-i \
--rm \
-v $source:/tmp/input \
18fgsa/s3-resource-simple \
/opt/resource/out /tmp/input