Skip to content

Commit af4be44

Browse files
Go 1.20 EOL (#966)
* Go 1.20 EOL * corrected tag to 1.1.9-1.22 in L36
1 parent 59124b1 commit af4be44

File tree

2 files changed

+6
-20
lines changed

2 files changed

+6
-20
lines changed

src/go/README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
| *Categories* | Core, Languages |
1111
| *Definition type* | Dockerfile |
1212
| *Published images* | mcr.microsoft.com/devcontainers/go |
13-
| *Available image variants* | 1 / 1-bookworm, 1.22 / 1.22-bookworm, 1.21 / 1.21-bookworm, 1.20 / 1.20-bookworm, 1-bullseye, 1.22-bullseye, 1.21-bullseye, 1.20-bullseye ([full list](https://mcr.microsoft.com/v2/devcontainers/go/tags/list)) |
13+
| *Available image variants* | 1 / 1-bookworm, 1.22 / 1.22-bookworm, 1.21 / 1.21-bookworm, 1-bullseye, 1.22-bullseye, 1.21-bullseye ([full list](https://mcr.microsoft.com/v2/devcontainers/go/tags/list)) |
1414
| *Published image architecture(s)* | x86-64, arm64/aarch64 for `bookworm`, and `bullseye` variants |
1515
| *Container host OS support* | Linux, macOS, Windows |
1616
| *Container OS* | Debian |
@@ -26,17 +26,16 @@ You can directly reference pre-built versions of `Dockerfile` by using the `imag
2626
- `mcr.microsoft.com/devcontainers/go:1` (or `1-bookworm`, `1-bullseye` to pin to an OS version)
2727
- `mcr.microsoft.com/devcontainers/go:1.22` (or `1.22-bookworm`, `1.22-bullseye` to pin to an OS version)
2828
- `mcr.microsoft.com/devcontainers/go:1.21` (or `1.21-bookworm`, `1.21-bullseye` to pin to an OS version)
29-
- `mcr.microsoft.com/devcontainers/go:1.20` (or `1.20-bookworm`, `1.20-bullseye` to pin to an OS version)
3029

3130
Refer to [this guide](https://containers.dev/guide/dockerfile) for more details.
3231

3332
You can decide how often you want updates by referencing a [semantic version](https://semver.org/) of each image. For example:
3433

35-
- `mcr.microsoft.com/devcontainers/go:1-1.21` (or `1-1.21-bookworm`, `1-1.21-bullseye`)
36-
- `mcr.microsoft.com/devcontainers/go:1.1-1.21` (or `1.1-1.21-bookworm`, `1.1-1.21-bullseye`)
37-
- `mcr.microsoft.com/devcontainers/go:1.1.0-1.21` (or `1.1.0-1.21-bookworm`, `1.1.0-1.21-bullseye`)
34+
- `mcr.microsoft.com/devcontainers/go:1-1.22` (or `1-1.22-bookworm`, `1-1.22-bullseye`)
35+
- `mcr.microsoft.com/devcontainers/go:1.1-1.22` (or `1.1-1.22-bookworm`, `1.1-1.22-bullseye`)
36+
- `mcr.microsoft.com/devcontainers/go:1.1.9-1.22` (or `1.1.9-1.22-bookworm`, `1.1.9-1.22-bullseye`)
3837

39-
However, we only do security patching on the latest [non-breaking, in support](https://github.com/devcontainers/images/issues/90) versions of images (e.g. `1-1.21`). You may want to run `apt-get update && apt-get upgrade` in your Dockerfile if you lock to a more specific version to at least pick up OS security updates.
38+
However, we only do security patching on the latest [non-breaking, in support](https://github.com/devcontainers/images/issues/90) versions of images (e.g. `1-1.22`). You may want to run `apt-get update && apt-get upgrade` in your Dockerfile if you lock to a more specific version to at least pick up OS security updates.
4039

4140
See [history](history) for information on the contents of each version and [here for a complete list of available tags](https://mcr.microsoft.com/v2/devcontainers/go/tags/list).
4241

src/go/manifest.json

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
"variants": [
44
"1.22-bookworm",
55
"1.21-bookworm",
6-
"1.20-bookworm",
76
"1.22-bullseye",
8-
"1.21-bullseye",
9-
"1.20-bullseye"
7+
"1.21-bullseye"
108
],
119
"build": {
1210
"latest": "1.22-bookworm",
@@ -22,10 +20,6 @@
2220
"1.21-bookworm": [
2321
"linux/amd64",
2422
"linux/arm64"
25-
],
26-
"1.20-bookworm": [
27-
"linux/amd64",
28-
"linux/arm64"
2923
],
3024
"1.22-bullseye": [
3125
"linux/amd64",
@@ -34,10 +28,6 @@
3428
"1.21-bullseye": [
3529
"linux/amd64",
3630
"linux/arm64"
37-
],
38-
"1.20-bullseye": [
39-
"linux/amd64",
40-
"linux/arm64"
4131
]
4232
},
4333
"variantTags": {
@@ -53,9 +43,6 @@
5343
],
5444
"1.21-bookworm": [
5545
"go:${VERSION}-1.21"
56-
],
57-
"1.20-bookworm": [
58-
"go:${VERSION}-1.20"
5946
]
6047
}
6148
},

0 commit comments

Comments
 (0)