Moving dep builds into Dockerfile and multi-stage builds.

This commit is contained in:
Travis Reeder
2017-06-06 15:02:08 -07:00
committed by Denis Makogon
parent 0276a1c156
commit f628e39490
17 changed files with 268 additions and 226 deletions

View File

@@ -1,5 +1,4 @@
import sys
sys.path.append("packages")
import os
import json
@@ -9,9 +8,13 @@ name = "World"
try:
if not os.isatty(sys.stdin.fileno()):
obj = json.loads(sys.stdin.read())
if obj["name"] != "":
name = obj["name"]
try:
obj = json.loads(sys.stdin.read())
if obj["name"] != "":
name = obj["name"]
except ValueError:
# ignore it
sys.stderr.write("no input, but that's ok\n")
except:
pass

View File

@@ -0,0 +1 @@
hello_pip==1.0.4