microsoft / microsoft/vscode-remote-release
.env file in project root is not used
Open
@Chuxel is already working on this.
Since Jun 15, 2020.
containers
doc
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
- VSCode Version: 1.45.1
- Local OS Version:macOS Catalina 10.15.5
- Remote Extension/Connection Type: Docker
Steps to Reproduce:
- Create any simple repo based on an existing dockerfile
- Create a .env file in the root of the project with something like FOO=bar
- build and run the container
According to the documentation: "VS Code will automatically pick up a file called .env in your workspace root". However, the environment variable is not present in the terminal when running env.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.