From 5994ba5375d1601c40c84da9c546fe1de068208f Mon Sep 17 00:00:00 2001 From: Nicolas Byl Date: Thu, 3 Apr 2025 14:07:42 +0000 Subject: [PATCH] add devcontainer definition Signed-off-by: Nicolas Byl --- .devcontainer/devcontainer.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..9f5c3c7 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,19 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/go +{ + "name": "Go", + "image": "mcr.microsoft.com/devcontainers/go:1-1.24-bookworm", + "features": { + "ghcr.io/devcontainers/features/go:1": {}, + "ghcr.io/dhoeric/features/google-cloud-cli:1": {} + }, + + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + + // Use 'postCreateCommand' to run commands after the container is created. + "postCreateCommand": "go run cmd/score-implementation-sample/main.go", + + // Configure tool-specific properties. + // "customizations": {}, +}