Add "build.secrets" field to `devcontainer.json`
@chrmarti is already working on this.
Since Apr 8, 2021.
Assessment
This issue has not been assessed yet.
Description
I'd like a way to use build secrets BuildKit's --secret in remote containers. Seemingly straightforward implementation: add a field for secrets underneath build in devcontainer.json (list of strings), and map each entry in that list to a --secret arg whenever the docker build command gets created
This is related to https://github.com/microsoft/vscode-remote-release/issues/1409, but that's not required (if users have some other way to make sure they're using BuildKit, this feature could be independently useful).
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
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.
More from microsoft/vscode-remote-release
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
microsoft/vscode-remote-release#11650 ·
-
ssh
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
microsoft/vscode-remote-release#11583 ·
-
ssh
Difficulty 4/5 3-5 days Newbie friendliness 38/100
microsoft/vscode-remote-release#11861 ·
-
microsoft/vscode-remote-release#11860 · 1 comment · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
microsoft/vscode-remote-release#11859 ·