Skip to content

Commit 16ac8ed

Browse files
[java-8]-Add support for debian trixie(13) (#1551)
* [java-8]-Add support for debian trixie(13) * removing bullseye
1 parent 26095d7 commit 16ac8ed

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

src/java-8/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# [Choice] Debian OS version (use bullseye on local arm64/Apple Silicon): bookworm, buster, bullseye
2-
ARG VARIANT="bookworm"
2+
ARG VARIANT="trixie"
33
FROM mcr.microsoft.com/devcontainers/base:${VARIANT}
44

55
# [Optional] Uncomment this section to install additional OS packages.

src/java-8/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
| *Categories* | Core, Languages |
1010
| *Image type* | Dockerfile |
1111
| *Published images* | mcr.microsoft.com/devcontainers/java:8 |
12-
| *Available image variants* | 8 / 8-bookworm, 8-bullseye ([full list](https://mcr.microsoft.com/v2/devcontainers/java/tags/list)) |
13-
| *Published image architecture(s)* | x86-64, arm64/aarch64 for `bullseye` and `bookworm` variants |
12+
| *Available image variants* | 8 / 8-trixie, 8-bookworm ([full list](https://mcr.microsoft.com/v2/devcontainers/java/tags/list)) |
13+
| *Published image architecture(s)* | x86-64, arm64/aarch64 for `trixie` and `bookworm` variants |
1414
| *Container host OS support* | Linux, macOS, Windows |
1515
| *Container OS* | Debian |
1616
| *Languages, platforms* | Java |
@@ -23,17 +23,17 @@ See **[history](history)** for information on the contents of published images.
2323
2424
You can directly reference pre-built versions of `Dockerfile` by using the `image` property in `.devcontainer/devcontainer.json` or updating the `FROM` statement in your own `Dockerfile` to one of the following. An example `Dockerfile` is included in this repository.
2525

26-
- `mcr.microsoft.com/devcontainers/java:8` (or `8-bookworm`, `8-bullseye`, `8-buster` to pin to an OS version)
26+
- `mcr.microsoft.com/devcontainers/java:8` (or `8-trixie`, `8-bookworm` to pin to an OS version)
2727

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

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

32-
- `mcr.microsoft.com/devcontainers/java:2-8` (or `2-8-bookworm`, `2-8-bullseye` to pin to an OS version)
33-
- `mcr.microsoft.com/devcontainers/java:2.0-8` (or `2.0-8-bookworm`, `2.0-8-bullseye` to pin to an OS version)
34-
- `mcr.microsoft.com/devcontainers/java:2.0.0-8` (or `2.0.0-8-bookworm`, `2.0.0-8-bullseye` to pin to an OS version)
32+
- `mcr.microsoft.com/devcontainers/java:3-8` (or `3-8-trixie`, `3-8-bookworm` to pin to an OS version)
33+
- `mcr.microsoft.com/devcontainers/java:3.0-8` (or `3.0-8-trixie`, `3.0-8-bookworm` to pin to an OS version)
34+
- `mcr.microsoft.com/devcontainers/java:3.0.0-8` (or `3.0.0-8-trixie`, `3.0.0-8-bookworm` to pin to an OS version)
3535

36-
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-8`). 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.
36+
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. `3-8`). 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.
3737

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

src/java-8/manifest.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"version": "2.0.27",
2+
"version": "3.0.0",
33
"variants": [
4-
"bookworm",
5-
"bullseye"
4+
"trixie",
5+
"bookworm"
66
],
77
"build": {
88
"latest": false,
99
"rootDistro": "debian",
1010
"parent": "base-debian",
1111
"architectures": {
12-
"bookworm": [
12+
"trixie": [
1313
"linux/amd64",
1414
"linux/arm64"
1515
],
16-
"bullseye": [
16+
"bookworm": [
1717
"linux/amd64",
1818
"linux/arm64"
1919
]
@@ -22,13 +22,13 @@
2222
"java:${VERSION}-8-${VARIANT}"
2323
],
2424
"variantTags": {
25-
"bookworm": [
25+
"trixie": [
2626
"java:${VERSION}-8",
27-
"java:${VERSION}-8-jdk-bookworm"
27+
"java:${VERSION}-8-jdk-trixie"
2828
],
29-
"bullseye": [
30-
"java:${VERSION}-8-jdk-bullseye"
31-
]
29+
"bookworm": [
30+
"java:${VERSION}-8-jdk-bookworm"
31+
]
3232
}
3333
},
3434
"dependencies": {

0 commit comments

Comments
 (0)