From e95d4a784b815ee1f093512542c28b3ad1ff44db Mon Sep 17 00:00:00 2001 From: Peter Kurfer Date: Sun, 3 Dec 2023 17:50:17 +0100 Subject: [PATCH] chore: add devcontainer --- .devcontainer/devcontainer.json | 27 ++++++++++++++++++++ {.gitea => .forgejo}/workflows/go.yaml | 0 {.gitea => .forgejo}/workflows/renovate.yaml | 0 3 files changed, 27 insertions(+) create mode 100644 .devcontainer/devcontainer.json rename {.gitea => .forgejo}/workflows/go.yaml (100%) rename {.gitea => .forgejo}/workflows/renovate.yaml (100%) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..2c97193 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,27 @@ +// 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:1-1.21-bullseye", + + // 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": {}, + "customizations": { + "vscode": { + "extensions": [] + } + } + + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" +} diff --git a/.gitea/workflows/go.yaml b/.forgejo/workflows/go.yaml similarity index 100% rename from .gitea/workflows/go.yaml rename to .forgejo/workflows/go.yaml diff --git a/.gitea/workflows/renovate.yaml b/.forgejo/workflows/renovate.yaml similarity index 100% rename from .gitea/workflows/renovate.yaml rename to .forgejo/workflows/renovate.yaml