forked from steger/pr3-ws202627
main
parent
d123d01a92
commit
34a8506c81
|
|
@ -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
|
||||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue