Skip to content

Commit

Permalink
Don't use relative paths for volumes: moby/moby#4830
Browse files Browse the repository at this point in the history
  • Loading branch information
timthelion committed Jul 19, 2014
1 parent ff2527c commit e8da2cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qubes-tools-build
Expand Up @@ -50,7 +50,7 @@ if not "--on-debian" in sys.argv:
docker_path = "docker"

subprocess.call([docker_path,"build","-t=debian-qubes-tools-build","debian-qubes-tools-build"])
subprocess.call([docker_path,"run","-v=./:/qubes/","-w=/qubes/","--rm","debian-qubes-tools-build","./qubes-tools-build","--on-debian"]+git_ignore_new)
subprocess.call([docker_path,"run","-v="+os.getcwd()+":/qubes/","-w=/qubes/","--rm","debian-qubes-tools-build","./qubes-tools-build","--on-debian"]+git_ignore_new)
if os.fork() == 0:
with open("./docker.log","w") as docker_log:
docker_log.write(docker_deamon.stderr.read())
Expand Down

1 comment on commit e8da2cd

@runneglobal
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the super quick fix! Your work is appreciated!
Runne

Please sign in to comment.