Enable path conversion from Windows-style to Unix-style on Windows
COMPOSE_CONVERT_WINDOWS_PATHS is supported by Docker and available for you to configure the docker-compose command-line behavior. It enables path conversion from Windows-style to Unix-style in volume definitions. Users of Docker Machine and Docker Toolbox on Windows should always set this to true. Change-Id: Ib59756ad68482fdd889ce39ab1ab0118b5fc9071 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
fe1907435d
commit
4b1b9ad7b0
@ -95,6 +95,11 @@ isEmpty(TESTSERVER_VERSION) {
|
||||
# The environment variables passed to the docker-compose file
|
||||
TEST_ENV = '\$\$env:MACHINE_IP = docker-machine ip qt-test-server;'
|
||||
TEST_ENV += '\$\$env:TEST_DOMAIN = $$shell_quote(\"$$DNSDOMAIN\");'
|
||||
|
||||
# Docker-compose CLI environment variables:
|
||||
# Enable path conversion from Windows-style to Unix-style in volume definitions.
|
||||
TEST_ENV += '\$\$env:COMPOSE_CONVERT_WINDOWS_PATHS = $$shell_quote(\"true\");'
|
||||
|
||||
TEST_CMD = 'PowerShell -noprofile'
|
||||
CONFIG += PowerShell
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user