Is it possible to get VisualGDB running in a Windows-Docker-Container? The project is an embedded project with MSBuild. The setup should be able to be triggered by a CI-Server (Jenkins).
The easiest way to do that would be to generate a .bat file for the MSBuild project on one of the development machines, check it into the source control, and run it on your Docker container. This way you won’t need to worry about installing Visual Studio, VisualGDB or any other tools under docker.
the issue with the .bat I have right now is that in the .rsp-files the ‘-c’-flag is an absolute path. On different development machines the path to the .cpp-files can be different which makes it complicated to get the path right in Jenkins/Docker.
This reply was modified 3 years, 5 months ago by rico227.
Indeed, the .rsp files are generated after all variables have been expanded and contain very low-level instructions to GCC and other similar tools. The easiest work around it would be to use a simple custom script that will patch the paths inside the .rsp files when they are checked out under a different path. This should be still easier than setting up a complete development environment, including VS and VisualGDB on a docker container.