s3-resource-simple/test/in

22 lines
303 B
Text
Raw Normal View History

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