Devcontainer dotfiles should have specific environment variable

Feature request for product/service

Anysphere Extensions (Remote SSH, Python, Dev Containers, WSL, C/C++/C#)

Describe the request

In VSCode devcontainer always has the environment variable REMOTE_CONTAINERS set to “true” which is pretty usefull for dotfiles repository to do action based on the type of environment.

From what I see on Anysphere Extensions for Devcontainers there is no variable like this one set.

Can we either add REMOTE_CONTAINERS variable by default (like in VSCode) or add ability in Devcontainer extension settings to add arbitrary environment variable

Operating System (if it applies)

Linux