Skip to content
Prev Previous commit
Next Next commit
change in Readme
  • Loading branch information
sireeshajonnalagadda authored Sep 15, 2025
commit 4dc834d8c9e85364eb34d092d32b66891ab99db0
8 changes: 4 additions & 4 deletions src/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ 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/java:1-11` (or `1-11-trixie`, `1-11-bookworm`, `1-11-bullseye` to pin to an OS version)
- `mcr.microsoft.com/devcontainers/java:1.0-11` (or `1.0-11-trixie`, `1.0-11-bookworm`, `1.0-11-bullseye` to pin to an OS version)
- `mcr.microsoft.com/devcontainers/java:1.0.0-11` (or `1.0.0-11-trixie`, `1.0.0-11-bookworm`, `1.0.0-11-bullseye` to pin to an OS version)
- `mcr.microsoft.com/devcontainers/java:2-11` (or `2-11-trixie`, `2-11-bookworm`, `2-11-bullseye` to pin to an OS version)
- `mcr.microsoft.com/devcontainers/java:2.0-11` (or `2.0-11-trixie`, `2.0-11-bookworm`, `2.0-11-bullseye` to pin to an OS version)
- `mcr.microsoft.com/devcontainers/java:2.0.0-11` (or `2.0.0-11-trixie`, `2.0.0-11-bookworm`, `2.0.0-11-bullseye` to pin to an OS version)

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-11`). 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. `2-11`). 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/java/tags/list).

Expand Down