forked from steger/pr3-sose2026
update devcontainer to go 1.26, disable ai
parent
05b5b27155
commit
31a61d583f
|
|
@ -1,9 +1,10 @@
|
||||||
FROM golang:1.25
|
FROM golang:1.26-bookworm
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y build-essential
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y build-essential \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
ARG USERNAME=developer
|
ARG USERNAME=developer
|
||||||
ARG USER_UID=1000
|
ARG USER_UID=1000
|
||||||
ARG USER_GID=$USER_UID
|
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
|
||||||
USER $USERNAME
|
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,14 @@
|
||||||
"build": {
|
"build": {
|
||||||
"dockerfile": "Dockerfile"
|
"dockerfile": "Dockerfile"
|
||||||
},
|
},
|
||||||
"postCreateCommand": "go install github.com/go-delve/delve/cmd/dlv@latest && go install github.com/cweill/gotests/gotests@v1.6.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",
|
"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": {
|
"customizations": {
|
||||||
"vscode": { "extensions": [
|
"vscode": { "extensions": [
|
||||||
"golang.go",
|
"golang.go",
|
||||||
"gruntfuggly.todo-tree"
|
"gruntfuggly.todo-tree",
|
||||||
|
"-github.copilot"
|
||||||
]}
|
]}
|
||||||
}
|
},
|
||||||
|
"remoteUser": "developer",
|
||||||
|
"updateRemoteUserUID": true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,12 @@
|
||||||
{
|
{
|
||||||
|
"chat.disableAIFeatures": true,
|
||||||
|
"terminal.integrated.env.linux": {
|
||||||
|
"EDITOR": "code --wait"
|
||||||
|
},
|
||||||
"terminal.integrated.profiles.linux": {
|
"terminal.integrated.profiles.linux": {
|
||||||
"bash": {
|
"bash": {
|
||||||
"path": "bash",
|
"path": "bash",
|
||||||
"icon": "terminal-bash"
|
"icon": "terminal-bash"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
module gitty.informatik.hs-mannheim.de/steger/pr3-ws202526/go/00-hello-world/hello-world
|
module gitty.informatik.th-mannheim.de/steger/pr3-sose2026/go/00-hello-world/hello-world
|
||||||
|
|
||||||
go 1.25.0
|
go 1.26.0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue