From 796112fcc9f7f321b2603bd0290f47e9f4444670 Mon Sep 17 00:00:00 2001 From: sireeshajonnalagadda Date: Fri, 12 Sep 2025 08:18:01 +0000 Subject: [PATCH 1/3] [g0, go-postgres]- Add support for debian trixie(13) --- src/go-postgres/README.md | 2 +- src/go-postgres/devcontainer-template.json | 16 ++++++++-------- src/go/README.md | 2 +- src/go/devcontainer-template.json | 16 +++++++--------- 4 files changed, 17 insertions(+), 19 deletions(-) diff --git a/src/go-postgres/README.md b/src/go-postgres/README.md index 4123f7b1..f1aac8ba 100644 --- a/src/go-postgres/README.md +++ b/src/go-postgres/README.md @@ -7,7 +7,7 @@ Use and develop Go + Postgres applications. Includes appropriate runtime args, G | Options Id | Description | Type | Default Value | |-----|-----|-----|-----| -| imageVariant | Go version: | string | 1.23-bookworm | +| imageVariant | Go version: | string | 1.25-trixie | This template references an image that was [pre-built](https://containers.dev/implementors/reference/#prebuilding) to automatically include needed devcontainer.json metadata. diff --git a/src/go-postgres/devcontainer-template.json b/src/go-postgres/devcontainer-template.json index 4ace9be8..759d6d36 100644 --- a/src/go-postgres/devcontainer-template.json +++ b/src/go-postgres/devcontainer-template.json @@ -1,6 +1,6 @@ { "id": "go-postgres", - "version": "4.2.0", + "version": "5.0.0", "name": "Go & PostgreSQL", "description": "Use and develop Go + Postgres applications. Includes appropriate runtime args, Go, common tools, extensions, and dependencies.", "documentationURL": "https://github.com/devcontainers/templates/tree/main/src/go-postgres", @@ -11,16 +11,16 @@ "type": "string", "description": "Go version:", "proposals": [ - "1-bookworm", + "1-trixie", + "1.25-trixie", + "1.24-trixie", + "1-bookworm", + "1.25-bookworm", "1.24-bookworm", - "1.23-bookworm", - "1.22-bookworm", "1-bullseye", - "1.24-bullseye", - "1.23-bullseye", - "1.22-bullseye" + "1.24-bullseye" ], - "default": "1.24-bookworm" + "default": "1.25-trixie" } }, "platforms": ["Go"], diff --git a/src/go/README.md b/src/go/README.md index 321608e3..35c83739 100644 --- a/src/go/README.md +++ b/src/go/README.md @@ -7,7 +7,7 @@ Develop Go based applications. Includes appropriate runtime args, Go, common too | Options Id | Description | Type | Default Value | |-----|-----|-----|-----| -| imageVariant | Go version: | string | 1.23-bookworm | +| imageVariant | Go version: | string | 1.25-trixie | This template references an image that was [pre-built](https://containers.dev/implementors/reference/#prebuilding) to automatically include needed devcontainer.json metadata. diff --git a/src/go/devcontainer-template.json b/src/go/devcontainer-template.json index f396ba1a..79c4a1ae 100644 --- a/src/go/devcontainer-template.json +++ b/src/go/devcontainer-template.json @@ -1,6 +1,6 @@ { "id": "go", - "version": "4.2.0", + "version": "5.0.0", "name": "Go", "description": "Develop Go based applications. Includes appropriate runtime args, Go, common tools, extensions, and dependencies.", "documentationURL": "https://github.com/devcontainers/templates/tree/main/src/go", @@ -11,16 +11,14 @@ "type": "string", "description": "Go version:", "proposals": [ - "1-bookworm", + "1-trixie", + "1.24-trixie", + "1.25-trixie", + "1.25-bookworm", "1.24-bookworm", - "1.23-bookworm", - "1.22-bookworm", - "1-bullseye", - "1.24-bullseye", - "1.23-bullseye", - "1.22-bullseye" + "1.24-bullseye" ], - "default": "1.24-bookworm" + "default": "1.25-trixie" } }, "platforms": ["Go"], From 2e91db0fd9cbd198b94fe9142160475ce38f6ca5 Mon Sep 17 00:00:00 2001 From: sireeshajonnalagadda Date: Fri, 12 Sep 2025 09:25:35 +0000 Subject: [PATCH 2/3] changes --- src/go-postgres/.devcontainer/Dockerfile | 2 +- src/go/.devcontainer/devcontainer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/go-postgres/.devcontainer/Dockerfile b/src/go-postgres/.devcontainer/Dockerfile index 8b945a45..3c801df2 100644 --- a/src/go-postgres/.devcontainer/Dockerfile +++ b/src/go-postgres/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/devcontainers/go:1-${templateOption:imageVariant} +FROM mcr.microsoft.com/devcontainers/go:2-${templateOption:imageVariant} # [Optional] Uncomment this section to install additional OS packages. # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ diff --git a/src/go/.devcontainer/devcontainer.json b/src/go/.devcontainer/devcontainer.json index 047779ca..1140905d 100644 --- a/src/go/.devcontainer/devcontainer.json +++ b/src/go/.devcontainer/devcontainer.json @@ -3,7 +3,7 @@ { "name": "Go", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - "image": "mcr.microsoft.com/devcontainers/go:1-${templateOption:imageVariant}" + "image": "mcr.microsoft.com/devcontainers/go:2-${templateOption:imageVariant}" // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, From 5ab5e7014a2aca479c9d166b147df61b5dd5d7ce Mon Sep 17 00:00:00 2001 From: sireeshajonnalagadda Date: Mon, 29 Sep 2025 08:11:37 +0000 Subject: [PATCH 3/3] re-trigger --- src/go/.devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/go/.devcontainer/devcontainer.json b/src/go/.devcontainer/devcontainer.json index 1140905d..e3099526 100644 --- a/src/go/.devcontainer/devcontainer.json +++ b/src/go/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ // For format details, see https://aka.ms/devcontainer.json. For config options, see the -// README at: https://github.com/devcontainers/templates/tree/main/src/go +// README at: https://github.com/devcontainers/templates/tree/main/src/go . { "name": "Go", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile