I see that when I try to debug docker-compose, rider starts ‘Background Tasks’ where it pulls images.
At this phase, it seems that it ignores the build args given to it and just pulls any image of the requested image (since it didn't read the argument which specifies which version is required).
For example: "Pulling image mcr.microsoft.com/dotnet/aspnet:…"
Is this a know issue? How can I overcome this?
I cannot debug till it finishes, and it is not logical for me to let it download all versions, since it takes a lot of time and takes up a lot of time and it is not needed.
Note 1: I'm on a mac.
Note 2: I've verified this by specifying the exact image version in the docker without injecting it via ARG and it worked.
Note 3: I am able to build and run successfully outside of rider (i.e. command line, Visual Studio)