diff --git a/go/.devcontainer/Dockerfile b/go/.devcontainer/Dockerfile index a1ca4b5..72b1aa7 100644 --- a/go/.devcontainer/Dockerfile +++ b/go/.devcontainer/Dockerfile @@ -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 USER_UID=1000 ARG USER_GID=$USER_UID RUN groupadd --gid $USER_GID $USERNAME && useradd --uid $USER_UID --gid $USER_GID -m $USERNAME -USER $USERNAME diff --git a/go/.devcontainer/devcontainer.json b/go/.devcontainer/devcontainer.json index 3f36777..933cbe5 100644 --- a/go/.devcontainer/devcontainer.json +++ b/go/.devcontainer/devcontainer.json @@ -3,11 +3,14 @@ "build": { "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": { "vscode": { "extensions": [ "golang.go", - "gruntfuggly.todo-tree" + "gruntfuggly.todo-tree", + "-github.copilot" ]} - } + }, + "remoteUser": "developer", + "updateRemoteUserUID": true } diff --git a/go/.vscode/settings.json b/go/.vscode/settings.json index bb689c0..bfba8e3 100644 --- a/go/.vscode/settings.json +++ b/go/.vscode/settings.json @@ -1,8 +1,12 @@ { + "chat.disableAIFeatures": true, + "terminal.integrated.env.linux": { + "EDITOR": "code --wait" + }, "terminal.integrated.profiles.linux": { "bash": { "path": "bash", "icon": "terminal-bash" } } -} \ No newline at end of file +} diff --git a/go/00-hello-world/go.mod b/go/00-hello-world/go.mod index 42919e7..d565f37 100644 --- a/go/00-hello-world/go.mod +++ b/go/00-hello-world/go.mod @@ -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