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

Commit c6ad457

Browse files
authored
Use Java 17 by default (#1446)
1 parent 22fcaa9 commit c6ad457

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

containers/java-postgres/.devcontainer/Dockerfile

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

55
# [Option] Install Maven

containers/java-postgres/.devcontainer/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
# Update 'VARIANT' to pick an version of Java: 11, 17.
1414
# Append -bullseye or -buster to pin to an OS version.
1515
# Use -bullseye variants on local arm64/Apple Silicon.
16-
VARIANT: 11-bullseye
16+
VARIANT: 17-bullseye
1717
# Options
1818
INSTALL_MAVEN: "false"
1919
MAVEN_VERSION: ""

containers/java-postgres/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ build:
4545
# Update 'VARIANT' to pick an version of Java: 11, 17.
4646
# Append -bullseye or -buster to pin to an OS version.
4747
# Use -bullseye variants on local arm64/Apple Silicon.
48-
VARIANT: 11-bullseye
48+
VARIANT: 17-bullseye
4949
```
5050
5151
You also can connect to PostgreSQL from an external tool when using VS Code by updating `.devcontainer/devcontainer.json` as follows:

containers/java/.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// Update the VARIANT arg to pick a Java version: 11, 17
77
// Append -bullseye or -buster to pin to an OS version.
88
// Use the -bullseye variants on local arm64/Apple Silicon.
9-
"VARIANT": "11-bullseye",
9+
"VARIANT": "17-bullseye",
1010
// Options
1111
"INSTALL_MAVEN": "false",
1212
"INSTALL_GRADLE": "false",

devcontainer-collection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@
523523
"11-buster",
524524
"17-buster"
525525
],
526-
"default": "11-bullseye"
526+
"default": "17-bullseye"
527527
}
528528
}
529529
},

migrations/options.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
"11-buster",
195195
"17-buster"
196196
],
197-
"default": "11-bullseye"
197+
"default": "17-bullseye"
198198
}
199199
}
200200
},

0 commit comments

Comments
 (0)