microsoft / microsoft/vscode-remote-release

.env file in project root is not used

Open
#3,150 4 comments 0 reactions 1 assignee View on GitHub

@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:

  1. Create any simple repo based on an existing dockerfile
  2. Create a .env file in the root of the project with something like FOO=bar
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.