You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Selecting Services in Docker Compose for CI Usage #357
I’m currently using a dev container defined in a docker-compose.yml file that includes multiple services. In my CI environment, I only need the main development container and would prefer not to start all other services.
Is there a way to selectively use only the dev container in my CI pipeline (Github Actions)?
I’m looking for any advice, tips, or documented solutions that might help.
You could use a second devcontainer.json in a subfolder of the .devcontainer folder and use "runServices": [...] in that to reduce the services to only the dev container one.
Activity
chrmarti commentedon Feb 28, 2025
You could use a second devcontainer.json in a subfolder of the
.devcontainerfolder and use"runServices": [...]in that to reduce the services to only the dev container one.chrmarti commentedon Feb 28, 2025
I should mention: The ci action has an option
configFileto specify the devcontainer.json path.