1
0
Fork 0
ChaosLL1337 2026-09-23 09:13:30 +00:00
parent d123d01a92
commit 34a8506c81
2 changed files with 13 additions and 8 deletions

View File

@ -1,10 +1,10 @@
FROM golang:1.26-bookworm
RUN apt-get update \
&& apt-get install -y build-essential \
&& apt-get install -y build-essential ripgrep \
&& rm -rf /var/lib/apt/lists/*
ARG USERNAME=developer
ARG USER_UID=1000
ARG USER_GID=$USER_UID
RUN groupadd --gid $USER_GID $USERNAME && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME
RUN groupadd --gid $USER_GID $USERNAME && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME

View File

@ -5,12 +5,17 @@
},
"postCreateCommand": "go install github.com/go-delve/delve/cmd/dlv@latest && go install github.com/cweill/gotests/gotests@v1.9.0 && go install golang.org/x/tools/gopls@latest && go install golang.org/x/tools/cmd/goimports@latest && go install honnef.co/go/tools/cmd/staticcheck@latest",
"customizations": {
"vscode": { "extensions": [
"golang.go",
"gruntfuggly.todo-tree",
"-github.copilot"
]}
"vscode": {
"extensions": [
"golang.go",
"gruntfuggly.todo-tree",
"-github.copilot"
],
"settings": {
"todo-tree.ripgrep.ripgrep": "/usr/bin/rg"
}
}
},
"remoteUser": "developer",
"updateRemoteUserUID": true
}
}