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
However, if any file is listed here, it must exist on the file system or the container will fail to start.
In our environment, some developers will define a docker compose extension yml file and some will not.
We have added a docker-compose.override.yml line to our .gitignore file and individual developers can opt in to modifying their local development container environment if they choose.
Is this possible using a devcontainer.json configuration? I have made a few attempts, but have been unable to conditionally-include-if-present a given docker compose override/extension yml file.
If not, it would a useful feature to add.
The text was updated successfully, but these errors were encountered:
In the devcontainer.json file, we can define an array of docker compose files like so:
However, if any file is listed here, it must exist on the file system or the container will fail to start.
In our environment, some developers will define a docker compose extension yml file and some will not.
We have added a
docker-compose.override.yml
line to our.gitignore
file and individual developers can opt in to modifying their local development container environment if they choose.Is this possible using a devcontainer.json configuration? I have made a few attempts, but have been unable to conditionally-include-if-present a given docker compose override/extension yml file.
If not, it would a useful feature to add.
The text was updated successfully, but these errors were encountered: