Skip to content

Commit 164066f

Browse files
committed
Update Java version in build instructions when using Docker
1 parent 200724d commit 164066f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ In STS (or any Eclipse distro or other IDE with Maven support), import the modul
4949
If you want to build the project in a Docker container, you can proceed as follows:
5050

5151
```
52-
$> docker run -it --mount type=bind,source="$(pwd)",target=/spring-batch maven:3-openjdk-8 bash
52+
$> docker run -it --mount type=bind,source="$(pwd)",target=/spring-batch maven:3-openjdk-17 bash
5353
#> cd spring-batch
5454
#> ./mvnw package
5555
```
@@ -59,7 +59,7 @@ If you want to work on a copy of the source code inside the container (no side e
5959
you can proceed as follows:
6060

6161
```
62-
$> docker run -it maven:3-openjdk-8 bash
62+
$> docker run -it maven:3-openjdk-17 bash
6363
#> git clone https://github.com/spring-projects/spring-batch.git
6464
#> cd spring-batch
6565
#> ./mvnw package

0 commit comments

Comments
 (0)