From 94957c12d246da14f6d086c752d25d2ddd009ca3 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 5 May 2025 22:50:41 +0000 Subject: [PATCH] Initial DevContainer --- .devcontainer/devcontainer.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..eb72826 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,24 @@ +{ + "image": "mcr.microsoft.com/devcontainers/go:latest", + "forwardPorts": [ + 8080 + ], + "portsAttributes": { + "8080": { + "label": "Application", + "onAutoForward": "notify" + } + }, + "customizations": { + "vscode": { + "extensions": [ + "golang.go" + ] + } + }, + "runArgs": [ + "--cap-add=SYS_PTRACE", + "--security-opt", + "seccomp=unconfined" + ] +} \ No newline at end of file