s3-resource-simple/test/in
Aidan Feldman f3ce24d31d add in and check scripts
`out` was failing without them
2016-03-10 12:18:11 -05:00

21 lines
303 B
Bash
Executable file

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