From 164066fa7db31e0a977867d6d75648e3e3884f8e Mon Sep 17 00:00:00 2001 From: Mahmoud Ben Hassine Date: Mon, 4 Apr 2022 12:46:32 +0200 Subject: [PATCH] Update Java version in build instructions when using Docker --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c10076d70..78eff3b39 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ In STS (or any Eclipse distro or other IDE with Maven support), import the modul If you want to build the project in a Docker container, you can proceed as follows: ``` -$> docker run -it --mount type=bind,source="$(pwd)",target=/spring-batch maven:3-openjdk-8 bash +$> docker run -it --mount type=bind,source="$(pwd)",target=/spring-batch maven:3-openjdk-17 bash #> cd spring-batch #> ./mvnw package ``` @@ -59,7 +59,7 @@ If you want to work on a copy of the source code inside the container (no side e you can proceed as follows: ``` -$> docker run -it maven:3-openjdk-8 bash +$> docker run -it maven:3-openjdk-17 bash #> git clone https://github.com/spring-projects/spring-batch.git #> cd spring-batch #> ./mvnw package