From aa0d60e514d2de5cb2637a879ec431040fe64fa7 Mon Sep 17 00:00:00 2001 From: Taylor Southwick Date: Mon, 19 Jan 2026 10:46:53 -0800 Subject: [PATCH] Add devcontainer --- .devcontainer/devcontainer.json | 32 ++++++++++++++++++++++++++++++++ .gitignore | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..0802dcb9 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,32 @@ +// 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", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/go:2-1.24-bullseye", + "features": { + "ghcr.io/devcontainers/features/node:1": {} + }, + "customizations": { + "vscode": { + "extensions": [ + "golang.go" + ] + } + } + + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + + // Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], + + // Use 'postCreateCommand' to run commands after the container is created. + // "postCreateCommand": "go version", + + // Configure tool-specific properties. + // "customizations": {}, + + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" +} diff --git a/.gitignore b/.gitignore index 285d491d..b8eec07c 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,5 @@ assets_vfsdata.go # mkdoc build site/ + +.pnpm-store/ \ No newline at end of file