Merge pull request #60 from rbricheno/master

Fix getting the directory path on Mac OS X.
pull/66/head
dw 7 years ago committed by GitHub
commit 0952b7a12f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -49,7 +49,7 @@ def sh(s, *args):
return shlex.split(s) return shlex.split(s)
mydir = os.path.dirname(__file__) mydir = os.path.abspath(os.path.dirname(__file__))
with tempfile.NamedTemporaryFile(dir=mydir) as dockerfile_fp: with tempfile.NamedTemporaryFile(dir=mydir) as dockerfile_fp:
dockerfile_fp.write(DOCKERFILE) dockerfile_fp.write(DOCKERFILE)
dockerfile_fp.flush() dockerfile_fp.flush()

Loading…
Cancel
Save