You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run qtbuild -docker deploy desktop, the docker command gets correctly constructed except for backslashes in the path for the build:
docker run --rm -v C:\\Development\\Go-App:/media/Go-App -v //c/Users/rfranks/go:/media/sf_GOPATH0 -e GOPATH=/media/sf_GOPATH0:/home/user/work -i therecipe/qt:windows_64_shared qtdeploy -debug -ldflags= -tags= build windows /media\\Go-App
Failing with the error:
time="2022-04-07T08:49:16Z" level=error msg="failed to run command" _func=RunCmd cmd="go env GOMOD" dir="/media\\Go-App" env= error="chdir /media\\Go-App: no such file or directory" name=GOMOD
When I run the command manually with the \ replaced with / docker run --rm -v C:\\Development\\Go-App:/media/Go-App -v //c/Users/rfranks/go:/media/sf_GOPATH0 -e GOPATH=/media/sf_GOPATH0:/home/user/work -i therecipe/qt:windows_64_shared qtdeploy -debug -ldflags= -tags= build windows /media/Go-App it runs correctly, and compiles.
The text was updated successfully, but these errors were encountered:
When I run qtbuild -docker deploy desktop, the docker command gets correctly constructed except for backslashes in the path for the build:
docker run --rm -v C:\\Development\\Go-App:/media/Go-App -v //c/Users/rfranks/go:/media/sf_GOPATH0 -e GOPATH=/media/sf_GOPATH0:/home/user/work -i therecipe/qt:windows_64_shared qtdeploy -debug -ldflags= -tags= build windows /media\\Go-App
Failing with the error:
time="2022-04-07T08:49:16Z" level=error msg="failed to run command" _func=RunCmd cmd="go env GOMOD" dir="/media\\Go-App" env= error="chdir /media\\Go-App: no such file or directory" name=GOMOD
When I run the command manually with the \ replaced with /
docker run --rm -v C:\\Development\\Go-App:/media/Go-App -v //c/Users/rfranks/go:/media/sf_GOPATH0 -e GOPATH=/media/sf_GOPATH0:/home/user/work -i therecipe/qt:windows_64_shared qtdeploy -debug -ldflags= -tags= build windows /media/Go-App
it runs correctly, and compiles.The text was updated successfully, but these errors were encountered: