From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web11.86630.1674247949652279106 for ; Fri, 20 Jan 2023 12:52:29 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=qQAXoEFb; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [47.201.8.94]) by linux.microsoft.com (Postfix) with ESMTPSA id 5614020E0A28; Fri, 20 Jan 2023 12:52:28 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 5614020E0A28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1674247949; bh=TZ2AiZO3iygBZb54v3fgoaP4FSeqCP9AL/ZKp0v7iYM=; h=From:To:Cc:Subject:Date:From; b=qQAXoEFbOyvcygAHLWwRAyB1YUGIdLxYPvOerWCqownNXhPzGQRiVUoY0sf7g/cIl IXDMUTEmtet44MzEXLOAu/iel16s1lMl4Th+i0o1wALMqDxOB63L5eVWL63SzKMU2t D8/Y7Aqe2PBcC73b8O7ngvCrycSn6qKpu/4Ksbhk= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Andrew Fish , Chris Fernald , Leif Lindholm , Michael D Kinney , Oliver Steffen Subject: [PATCH v1 1/1] .devcontainer/devcontainer.json: Add devcontainer file Date: Fri, 20 Jan 2023 15:51:57 -0500 Message-Id: <20230120205157.167-1-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Kubacki 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 --- .devcontainer/devcontainer.json | 16 ++++++++++++++++ Maintainers.txt | 5 +++++ 2 files changed, 21 insertions(+) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer= .json new file mode 100644 index 000000000000..592bb8cf6626 --- /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 * && pi= p 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" + ] + } + } +} diff --git a/Maintainers.txt b/Maintainers.txt index 68f603b48398..4aa7973d5156 100644 --- a/Maintainers.txt +++ b/Maintainers.txt @@ -117,6 +117,11 @@ M: Michael Kubacki [m= akubacki] R: Michael D Kinney [mdkinney] R: Liming Gao [lgao4] =20 +.devcontainer/ +F: .devcontainer/ +M: Michael Kubacki [makubacki] +R: Chris Fernald [cfernald] + .github/ F: .github/ M: Sean Brogan [spbrogan] --=20 2.28.0.windows.1