Skip to content

Commit

Permalink
Go 1.20 EOL (#966)
Browse files Browse the repository at this point in the history
* Go 1.20 EOL

* corrected tag to 1.1.9-1.22 in L36
  • Loading branch information
gauravsaini04 authored Feb 15, 2024
1 parent 59124b1 commit af4be44
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 20 deletions.
11 changes: 5 additions & 6 deletions src/go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
| *Categories* | Core, Languages |
| *Definition type* | Dockerfile |
| *Published images* | mcr.microsoft.com/devcontainers/go |
| *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)) |
| *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)) |
| *Published image architecture(s)* | x86-64, arm64/aarch64 for `bookworm`, and `bullseye` variants |
| *Container host OS support* | Linux, macOS, Windows |
| *Container OS* | Debian |
Expand All @@ -26,17 +26,16 @@ You can directly reference pre-built versions of `Dockerfile` by using the `imag
- `mcr.microsoft.com/devcontainers/go:1` (or `1-bookworm`, `1-bullseye` to pin to an OS version)
- `mcr.microsoft.com/devcontainers/go:1.22` (or `1.22-bookworm`, `1.22-bullseye` to pin to an OS version)
- `mcr.microsoft.com/devcontainers/go:1.21` (or `1.21-bookworm`, `1.21-bullseye` to pin to an OS version)
- `mcr.microsoft.com/devcontainers/go:1.20` (or `1.20-bookworm`, `1.20-bullseye` to pin to an OS version)

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

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

- `mcr.microsoft.com/devcontainers/go:1-1.21` (or `1-1.21-bookworm`, `1-1.21-bullseye`)
- `mcr.microsoft.com/devcontainers/go:1.1-1.21` (or `1.1-1.21-bookworm`, `1.1-1.21-bullseye`)
- `mcr.microsoft.com/devcontainers/go:1.1.0-1.21` (or `1.1.0-1.21-bookworm`, `1.1.0-1.21-bullseye`)
- `mcr.microsoft.com/devcontainers/go:1-1.22` (or `1-1.22-bookworm`, `1-1.22-bullseye`)
- `mcr.microsoft.com/devcontainers/go:1.1-1.22` (or `1.1-1.22-bookworm`, `1.1-1.22-bullseye`)
- `mcr.microsoft.com/devcontainers/go:1.1.9-1.22` (or `1.1.9-1.22-bookworm`, `1.1.9-1.22-bullseye`)

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.
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.

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).

Expand Down
15 changes: 1 addition & 14 deletions src/go/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
"variants": [
"1.22-bookworm",
"1.21-bookworm",
"1.20-bookworm",
"1.22-bullseye",
"1.21-bullseye",
"1.20-bullseye"
"1.21-bullseye"
],
"build": {
"latest": "1.22-bookworm",
Expand All @@ -22,10 +20,6 @@
"1.21-bookworm": [
"linux/amd64",
"linux/arm64"
],
"1.20-bookworm": [
"linux/amd64",
"linux/arm64"
],
"1.22-bullseye": [
"linux/amd64",
Expand All @@ -34,10 +28,6 @@
"1.21-bullseye": [
"linux/amd64",
"linux/arm64"
],
"1.20-bullseye": [
"linux/amd64",
"linux/arm64"
]
},
"variantTags": {
Expand All @@ -53,9 +43,6 @@
],
"1.21-bookworm": [
"go:${VERSION}-1.21"
],
"1.20-bookworm": [
"go:${VERSION}-1.20"
]
}
},
Expand Down

0 comments on commit af4be44

Please sign in to comment.