[config] preliminary Dockerfile support

This commit is contained in:
Alex Quick
2017-01-30 22:20:39 -05:00
parent dfa241d6a9
commit 73e85b7df5
10 changed files with 79 additions and 24 deletions

View File

@@ -4,15 +4,12 @@ set -e;
test_url () {
path="$1"
expected_output="$2"
url="$base_url$path"
output="$(curl -s -S "$url:3000")"
echo "$output"
url="${base_url}:3000${path}"
output="$(curl -s -S "$url")"
test "$output" == "$expected_output"
}
base_url="$1"
test_url / "Hello World!"
test_url /env/FROM_APP_JSON "'foo
bar'"
test_url /env/HELLO "Hello
'world' "