From 143c291e803af0d44935c6c4ea1b38c9e36b710b Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Sat, 17 Feb 2024 12:03:49 +0100 Subject: [PATCH] Configure devcontainer for codespace Provide a ready to work environnement on codespaces with bazel and golang and their extensions for vscode. Signed-off-by: Matthieu MOREL --- .devcontainer/devcontainer.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..e03b9c2 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,22 @@ +{ + "image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.04", + "features": { + "ghcr.io/balazs23/devcontainers-features/bazel:1": { + "bazelisk": "v1.19.0" + }, + "ghcr.io/devcontainers/features/go:1": { + "version": "1.20" + }, + "ghcr.io/devcontainers/features/python:1": { + } + }, + "customizations": { + "vscode": { + "extensions": [ + "bazelbuild.vscode-bazel", + "golang.go", + "ms-vscode.cpptools-extension-pack" + ] + } + } +}