-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DockerComposeBaseFilePath does not also affect obj\Docker\docker-compose.vs*.yml #233
Comments
Any update on this? |
Hi @DaleyKD, |
@pratiksanglikar : I understand. I meant, instead of you using a file named var partialYmlFileName = $"{DockerComposeBaseFilePath}.vs.debug.g.yml"; |
Hi @DaleyKD, However, I would like to understand your use case and can probably give you a workaround on what you are trying to achieve. |
Hi, I have a Test configuration which the value of
I don't want it to be applied to other configurations (e.g. Debug, Release). I know we can override the |
@yunyanng as of now DockerComposeBaseFilePath does not support that. The closest you could get to this behavior would be to create a separate .dcproj in Its own folder that uses DockerComposeBaseFilePath to re-use the compose files from the original project. The new project could then have its own docker-compose.vs.*.yml files that would not impact the original project. |
@NCarlsonMSFT I would stick to the solution you suggested until the behavior is supported. Thanks! |
Closing stale issue. |
I'm trying to use numerous .sln files in the same root directory of a massive project. Trying to break it into smaller chunks, I have the need for different docker-compose files.
In my .dcproj file, I have set:
The
DockerComposeBaseFilePath
does a good job of affecting thedocker-compose
cmd that runs for the first two -f args, but it shares the samedocker-compose.vs.debug.partial.g.yml
file as the other .dcprojs.It generates:
docker-compose -f "C:\src\k\docker-compose-corewebs.yml" -f "C:\src\k\docker-compose-corewebs.override.yml" -f "C:\src\k\obj\Docker\docker-compose.vs.debug.g.yml" -p dockercomposecorewebs15517584978595564736 --no-ansi config
I would expect it to generate:
docker-compose -f "C:\src\k\docker-compose-corewebs.yml" -f "C:\src\k\docker-compose-corewebs.override.yml" -f "C:\src\k\obj\Docker\docker-compose**-corewebs**.vs.debug.g.yml" -p dockercomposecorewebs15517584978595564736 --no-ansi config
(sans asterisks)The text was updated successfully, but these errors were encountered: