Use compose file argument in docker compose down command#1519
Draft
Copilot wants to merge 4 commits intorelease-1.2.0from
Draft
Use compose file argument in docker compose down command#1519Copilot wants to merge 4 commits intorelease-1.2.0from
Copilot wants to merge 4 commits intorelease-1.2.0from
Conversation
- Determine compose file based on SAMPLE_APP before docker compose down - Add RI_COMPOSE_FILE_ARG variable to store the appropriate compose file path - Use -f flag with docker compose down to specify the correct compose file - Simplify copy logic to use the variable Co-authored-by: krish918 <[email protected]>
Co-authored-by: krish918 <[email protected]>
Co-authored-by: krish918 <[email protected]>
Copilot
AI
changed the title
[WIP] Add functionality to run docker compose down with specific file
Use compose file argument in docker compose down command
Jan 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The install script was calling
docker compose downwithout specifying which compose file to use, potentially bringing down the wrong services when switching between sample applications that use different compose files (smart-intersectionusescompose-scenescape.yml, others usecompose-without-scenescape.yml).Changes
RI_COMPOSE_FILE_ARGvariable to store the appropriate compose file path based onSAMPLE_APP-f "$RI_COMPOSE_FILE_ARG"flag for bothpsanddownoperationsdocker compose downcommand instead of afterSAMPLE_APPand compose file existenceThis ensures the correct services are brought down when switching between sample applications.
Original prompt
Created from VS Code via the GitHub Pull Request extension.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.