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 running from a Windows cmd.exe command line, slightly modified settings are needed to set the environment variables and use these when kicking off Docker. I found the following to work in Windows. It assumes you have pulled the sources into folder C:\Users\YourName\tddec-code.
set PWD=/c/Users/YourName
set MOUNT_DIR=%PWD%:/usr/src
set WORKING_DIR=/usr/src/tddec-code
set CPPUTEST_HOME=%WORKING_DIR%/cpputest
Check things out with a bash invocation as follows:
C:\Users\YourName>docker run -it -v %MOUNT_DIR% -w %WORKING_DIR% -e CPPUTEST_HOME gcc:7 /bin/bash
then do the usual things like make etc.
The text was updated successfully, but these errors were encountered:
When running from a Windows cmd.exe command line, slightly modified settings are needed to set the environment variables and use these when kicking off Docker. I found the following to work in Windows. It assumes you have pulled the sources into folder C:\Users\YourName\tddec-code.
set PWD=/c/Users/YourName
set MOUNT_DIR=%PWD%:/usr/src
set WORKING_DIR=/usr/src/tddec-code
set CPPUTEST_HOME=%WORKING_DIR%/cpputest
Check things out with a bash invocation as follows:
C:\Users\YourName>docker run -it -v %MOUNT_DIR% -w %WORKING_DIR% -e CPPUTEST_HOME gcc:7 /bin/bash
then do the usual things like make etc.
The text was updated successfully, but these errors were encountered: