Skip to content

Commit d2fd18f

Browse files
[go, go-postgres]- Add support for debian trixie(13) (#362)
* [g0, go-postgres]- Add support for debian trixie(13) * changes * re-trigger
1 parent 439ff2e commit d2fd18f

File tree

6 files changed

+20
-22
lines changed

6 files changed

+20
-22
lines changed

src/go-postgres/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/devcontainers/go:1-${templateOption:imageVariant}
1+
FROM mcr.microsoft.com/devcontainers/go:2-${templateOption:imageVariant}
22

33
# [Optional] Uncomment this section to install additional OS packages.
44
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \

src/go-postgres/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Use and develop Go + Postgres applications. Includes appropriate runtime args, G
77

88
| Options Id | Description | Type | Default Value |
99
|-----|-----|-----|-----|
10-
| imageVariant | Go version: | string | 1.23-bookworm |
10+
| imageVariant | Go version: | string | 1.25-trixie |
1111

1212
This template references an image that was [pre-built](https://containers.dev/implementors/reference/#prebuilding) to automatically include needed devcontainer.json metadata.
1313

src/go-postgres/devcontainer-template.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "go-postgres",
3-
"version": "4.2.0",
3+
"version": "5.0.0",
44
"name": "Go & PostgreSQL",
55
"description": "Use and develop Go + Postgres applications. Includes appropriate runtime args, Go, common tools, extensions, and dependencies.",
66
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/go-postgres",
@@ -11,16 +11,16 @@
1111
"type": "string",
1212
"description": "Go version:",
1313
"proposals": [
14-
"1-bookworm",
14+
"1-trixie",
15+
"1.25-trixie",
16+
"1.24-trixie",
17+
"1-bookworm",
18+
"1.25-bookworm",
1519
"1.24-bookworm",
16-
"1.23-bookworm",
17-
"1.22-bookworm",
1820
"1-bullseye",
19-
"1.24-bullseye",
20-
"1.23-bullseye",
21-
"1.22-bullseye"
21+
"1.24-bullseye"
2222
],
23-
"default": "1.24-bookworm"
23+
"default": "1.25-trixie"
2424
}
2525
},
2626
"platforms": ["Go"],

src/go/.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2-
// README at: https://github.com/devcontainers/templates/tree/main/src/go
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/go .
33
{
44
"name": "Go",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/go:1-${templateOption:imageVariant}"
6+
"image": "mcr.microsoft.com/devcontainers/go:2-${templateOption:imageVariant}"
77

88
// Features to add to the dev container. More info: https://containers.dev/features.
99
// "features": {},

src/go/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Develop Go based applications. Includes appropriate runtime args, Go, common too
77

88
| Options Id | Description | Type | Default Value |
99
|-----|-----|-----|-----|
10-
| imageVariant | Go version: | string | 1.23-bookworm |
10+
| imageVariant | Go version: | string | 1.25-trixie |
1111

1212
This template references an image that was [pre-built](https://containers.dev/implementors/reference/#prebuilding) to automatically include needed devcontainer.json metadata.
1313

src/go/devcontainer-template.json

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "go",
3-
"version": "4.2.0",
3+
"version": "5.0.0",
44
"name": "Go",
55
"description": "Develop Go based applications. Includes appropriate runtime args, Go, common tools, extensions, and dependencies.",
66
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/go",
@@ -11,16 +11,14 @@
1111
"type": "string",
1212
"description": "Go version:",
1313
"proposals": [
14-
"1-bookworm",
14+
"1-trixie",
15+
"1.24-trixie",
16+
"1.25-trixie",
17+
"1.25-bookworm",
1518
"1.24-bookworm",
16-
"1.23-bookworm",
17-
"1.22-bookworm",
18-
"1-bullseye",
19-
"1.24-bullseye",
20-
"1.23-bullseye",
21-
"1.22-bullseye"
19+
"1.24-bullseye"
2220
],
23-
"default": "1.24-bookworm"
21+
"default": "1.25-trixie"
2422
}
2523
},
2624
"platforms": ["Go"],

0 commit comments

Comments
 (0)