Skip to content

Commit 2d6388d

Browse files
authored
Merge pull request #3193 from nielsreijers/update-devcontainer-to-java17
Update devcontainer to use Java 17 (required for Spring >= 6)
2 parents 2d9598d + f3a2425 commit 2d6388d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Update the VARIANT arg in devcontainer.json to pick a Java version >= 11
2-
ARG VARIANT=11
1+
# Update the VARIANT arg in devcontainer.json to pick a Java version >= 17
2+
ARG VARIANT=17
33
FROM openjdk:${VARIANT}-jdk-buster
44

55
# Options for setup script

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"build": {
44
"dockerfile": "Dockerfile",
55
"args": {
6-
// Update the VARIANT arg to pick a Java version >= 11
7-
"VARIANT": "11",
6+
// Update the VARIANT arg to pick a Java version >= 17
7+
"VARIANT": "17",
88
// Options to install Maven or Gradle
99
"INSTALL_MAVEN": "true",
1010
"MAVEN_VERSION": "3.6.3",

0 commit comments

Comments
 (0)