Fix getting the directory path on Mac OS X.
This commit is contained in:
parent
c09dcd82a7
commit
39f325af3e
|
@ -49,7 +49,7 @@ def sh(s, *args):
|
|||
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:
|
||||
dockerfile_fp.write(DOCKERFILE)
|
||||
dockerfile_fp.flush()
|
||||
|
|
Loading…
Reference in New Issue