centralize build command
This commit is contained in:
parent
b16b9a6c76
commit
c2e9f187f7
4 changed files with 8 additions and 3 deletions
5
test/build.sh
Executable file
5
test/build.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
docker build -t 18fgsa/s3-resource-simple .
|
|
@ -4,7 +4,7 @@ set -e
|
||||||
|
|
||||||
json=$(cat config.json)
|
json=$(cat config.json)
|
||||||
|
|
||||||
docker build -t 18fgsa/s3-resource-simple .
|
source "$(dirname $0)/build.sh"
|
||||||
|
|
||||||
echo $json | docker run \
|
echo $json | docker run \
|
||||||
-i \
|
-i \
|
||||||
|
|
2
test/in
2
test/in
|
@ -11,7 +11,7 @@ fi
|
||||||
|
|
||||||
json=$(cat config.json)
|
json=$(cat config.json)
|
||||||
|
|
||||||
docker build -t 18fgsa/s3-resource-simple .
|
source "$(dirname $0)/build.sh"
|
||||||
|
|
||||||
echo $json | docker run \
|
echo $json | docker run \
|
||||||
-i \
|
-i \
|
||||||
|
|
2
test/out
2
test/out
|
@ -11,7 +11,7 @@ fi
|
||||||
|
|
||||||
json=$(cat config.json)
|
json=$(cat config.json)
|
||||||
|
|
||||||
docker build -t 18fgsa/s3-resource-simple .
|
source "$(dirname $0)/build.sh"
|
||||||
|
|
||||||
echo $json | docker run \
|
echo $json | docker run \
|
||||||
-i \
|
-i \
|
||||||
|
|
Loading…
Reference in a new issue