From 540522fec06b87bf11ad5624abe23b515f282d60 Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Fri, 20 Jan 2023 12:07:22 -0500 Subject: .devcontainer/devcontainer.json: Add devcontainer file Tianocore maintains container images in the tianocore/containers repo and stores container images within the GitHub container registry. https://github.com/tianocore/containers This change adds a devcontainer.json file to the edk2 repo. This file's metadata and settings to configurate a development container for a given well-defined tool and runtime stack. More information about the devcontainer.json file is available here: https://containers.dev/implementors/json_reference/ This file is recognized by popular tools such as GitHub Codespaces and VS Code. In VS Code in particular, it makes it much easier for a user to be aware a dev container exists (via UI notifications) and to load the container. A minimal number of VS Code extensions are specified that are useful for edk2 development or to assist in complying with CI checks in place in edk2. Cc: Andrew Fish Cc: Chris Fernald Cc: Leif Lindholm Cc: Michael D Kinney Cc: Oliver Steffen Signed-off-by: Michael Kubacki Reviewed-by: Michael D Kinney --- .devcontainer/devcontainer.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .devcontainer/devcontainer.json (limited to '.devcontainer/devcontainer.json') diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..592bb8c --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,16 @@ +{ + "image": "ghcr.io/tianocore/containers/fedora-35-dev:latest", + "postCreateCommand": "git config --global --add safe.directory * && pip install --upgrade -r pip-requirements.txt", + "customizations": { + "vscode": { + "extensions": [ + "DavidAnson.vscode-markdownlint", + "ms-azuretools.vscode-docker", + "ms-vscode-remote.remote-containers", + "ms-vscode.cpptools", + "walonli.edk2-vscode", + "zachflower.uncrustify" + ] + } + } +} -- cgit v1.1