centralize build command

This commit is contained in:
Aidan Feldman 2016-03-10 18:31:20 -05:00
parent b16b9a6c76
commit c2e9f187f7
4 changed files with 8 additions and 3 deletions

5
test/build.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
set -e
docker build -t 18fgsa/s3-resource-simple .

View file

@ -4,7 +4,7 @@ set -e
json=$(cat config.json)
docker build -t 18fgsa/s3-resource-simple .
source "$(dirname $0)/build.sh"
echo $json | docker run \
-i \

View file

@ -11,7 +11,7 @@ fi
json=$(cat config.json)
docker build -t 18fgsa/s3-resource-simple .
source "$(dirname $0)/build.sh"
echo $json | docker run \
-i \

View file

@ -11,7 +11,7 @@ fi
json=$(cat config.json)
docker build -t 18fgsa/s3-resource-simple .
source "$(dirname $0)/build.sh"
echo $json | docker run \
-i \