Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 5ca478b

Browse files
authored
Switch UX to reference JDK 17 now that extension supports it
1 parent ffde008 commit 5ca478b

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

containers/java/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [Choice] Java version (use -bullseye variants on local arm64/Apple Silicon): 11, 16, 11-bullseye, 16-bullseye, 11-buster, 17-buster
1+
# [Choice] Java version (use -bullseye variants on local arm64/Apple Silicon): 11, 17, 11-bullseye, 17-bullseye, 11-buster, 17-buster
22
ARG VARIANT=11-bullseye
33
FROM mcr.microsoft.com/vscode/devcontainers/java:${VARIANT}
44

containers/java/.devcontainer/devcontainer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"name": "Java",
3-
"runArgs": ["--init"],
43
"build": {
54
"dockerfile": "Dockerfile",
65
"args": {
7-
// Update the VARIANT arg to pick a Java version: 11, 16
6+
// Update the VARIANT arg to pick a Java version: 11, 17
87
// Append -bullseye or -buster to pin to an OS version.
98
// Use the -bullseye variants on local arm64/Apple Silicon.
109
"VARIANT": "11-jdk-bullseye",

containers/java/README.md

Lines changed: 1 addition & 1 deletion
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/vscode/devcontainers/java |
13-
| *Available image variants* | 11 / 11-buster, 16 / 16-buster, 11-bullseye, 16-bullseye ([full list](https://mcr.microsoft.com/v2/vscode/devcontainers/java/tags/list)) |
13+
| *Available image variants* | 11 / 11-bullseye, 17 / 17-bullseye, 11-buster, 17-buster ([full list](https://mcr.microsoft.com/v2/vscode/devcontainers/java/tags/list)) |
1414
| *Published image architecture(s)* | x86-64, arm64/aarch64 for `bullseye` variants |
1515
| *Works in Codespaces* | Yes |
1616
| *Container host OS support* | Linux, macOS, Windows |

0 commit comments

Comments
 (0)