Skip to content

Commit

Permalink
Go & Go-postgres: Support 1.21 and drop buster (#194)
Browse files Browse the repository at this point in the history
* Go & Go-postgres: Support 1.21

* Go & Go-postres: Drop buster

* 1.19 EOL

* update description

* update default variant

* version bump
  • Loading branch information
whuwxl authored Aug 15, 2023
1 parent a0abaec commit e4b96bd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 20 deletions.
17 changes: 7 additions & 10 deletions src/go-postgres/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
{
"id": "go-postgres",
"version": "2.0.0",
"version": "3.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",
"publisher": "Dev Container Spec Maintainers",
"licenseURL": "https://github.com/devcontainers/templates/blob/main/LICENSE",
"options": {
"imageVariant": {
"imageVariant": {
"type": "string",
"description": "Go version (use -bookworm, or -bullseye variants on local arm64/Apple Silicon):",
"description": "Go version:",
"proposals": [
"1-bookworm",
"1.21-bookworm",
"1.20-bookworm",
"1.19-bookworm",
"1-bullseye",
"1.20-bullseye",
"1.19-bullseye",
"1-buster",
"1.20-buster",
"1.19-buster"
"1.21-bullseye",
"1.20-bullseye"
],
"default": "1.20-bullseye"
"default": "1.21-bullseye"
}
},
"platforms": [
Expand Down
17 changes: 7 additions & 10 deletions src/go/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
{
"id": "go",
"version": "2.0.0",
"version": "3.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",
"publisher": "Dev Container Spec Maintainers",
"licenseURL": "https://github.com/devcontainers/templates/blob/main/LICENSE",
"options": {
"imageVariant": {
"imageVariant": {
"type": "string",
"description": "Go version (use -bookworm, or -bullseye variants on local arm64/Apple Silicon):",
"description": "Go version:",
"proposals": [
"1-bookworm",
"1.21-bookworm",
"1.20-bookworm",
"1.19-bookworm",
"1-bullseye",
"1.20-bullseye",
"1.19-bullseye",
"1-buster",
"1.20-buster",
"1.19-buster"
"1.21-bullseye",
"1.20-bullseye"
],
"default": "1.20-bullseye"
"default": "1.21-bullseye"
}
},
"platforms": [
Expand Down

0 comments on commit e4b96bd

Please sign in to comment.