I'm using the remote testing feature from Visual Studio to execute my unit tests on a Linux container.
For this, I have the following Dockerfile.test
FROM mcr.microsoft.com/dotnet/sdk:6.0
RUN mkdir /usr/local/temp
RUN wget https://aka.ms/getvsdbgsh && \
sh getvsdbgsh -v latest -l /vsdbg
And the following testenvironments.json
{
"version": "1",
"environments": [
{
"name": "GitServiceUnix",
"type": "docker",
"dockerFile": "Dockerfile.test"
}
]
}
Working fine as it should.
Now I came to the point that I have to mount a volume into the testing container.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With