From 4390111c5715d9450b989c6cc4f8d8b43ac45031 Mon Sep 17 00:00:00 2001 From: Levatax <levatax@randomchars.net> Date: Sat, 9 Nov 2024 15:59:08 +0000 Subject: [PATCH] fix: rewrite devcontainer.json --- .devcontainer/devcontainer.json | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 5e1af78..f199358 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,19 +1,12 @@ { - "name": "Golang Dev Container", - "context": "..", - "build": { - "dockerfile": "../Dockerfile" - }, - "postCreateCommand": "go mod tidy", - "settings": { - "terminal.integrated.defaultProfile.linux": "bash" - }, - "extensions": [ - "golang.go", - "ms-azuretools.vscode-docker" - ], - "forwardPorts": [ - 3000 - ], - "remoteUser": "root" + "name": "Go", + "image": "mcr.microsoft.com/devcontainers/go:1-1.22-bookworm", + "customizations": { + "vscode": { + "settings": {}, + "extensions": [ + "streetsidesoftware.code-spell-checker" + ] + } + } } \ No newline at end of file -- GitLab