From 16b8e4d1e81c96a0ff05778e8edf7505990ba1cc Mon Sep 17 00:00:00 2001 From: Nicolas Karolak Date: Sun, 28 Jan 2024 22:35:25 +0000 Subject: [PATCH] chore: add devcontainer config --- .devcontainer.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .devcontainer.json diff --git a/.devcontainer.json b/.devcontainer.json new file mode 100644 index 0000000..9401308 --- /dev/null +++ b/.devcontainer.json @@ -0,0 +1,33 @@ +{ + "name": "goresume", + "image": "ghcr.io/nikaro/debian-devcontainer:latest", + "customizations": { + "vscode": { + "extensions": [ + "EditorConfig.EditorConfig", + "esbenp.prettier-vscode", + "GitHub.copilot", + "github.vscode-github-actions", + "golang.go", + "redhat.vscode-yaml" + ] + } + }, + "features": { + "ghcr.io/nikaro/features/actionlint": {}, + "ghcr.io/nikaro/features/go-devtools": {}, + "ghcr.io/nikaro/features/pre-commit": {} + }, + "mounts": [ + { + "source": "${localEnv:HOME}/.config/fish", + "target": "/home/vscode/.config/fish", + "type": "bind" + }, + { + "source": "${localEnv:HOME}/.config/git", + "target": "/home/vscode/.config/git", + "type": "bind" + } + ] +}