I'd like to be able to pass a build arguments when debugging a docker compose project in visual studio to one of the dependent services.
In particular, we build a few projects with RuntimeIdentifier, and when running docker compose I'd like for this to be set explicitly to what the docker container runs on. Ideally, I could default it to windows (the current environment) and when debugging docker compose, set it explicitly to linux-x64.
I'd like to be able to pass a build arguments when debugging a docker compose project in visual studio to one of the dependent services.
In particular, we build a few projects with RuntimeIdentifier, and when running docker compose I'd like for this to be set explicitly to what the docker container runs on. Ideally, I could default it to windows (the current environment) and when debugging docker compose, set it explicitly to linux-x64.
Any ways to address this?