Skip to content

Commit 8227df1

Browse files
committed
Polishing.
In steps to run stuff like CI, update it to use a JDK 17 container image.
1 parent e7defc0 commit 8227df1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ All of these use cases are great reasons to essentially run what Jenkins does on
9494

9595
IMPORTANT: To do this you must have Docker installed on your machine.
9696

97-
1. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-ws-github adoptopenjdk/openjdk8:latest /bin/bash`
97+
1. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-ws-github openjdk:17-bullseye /bin/bash`
9898
+
9999
This will launch the Docker image and mount your source code at `spring-ws-github`.
100100
+
@@ -108,7 +108,7 @@ Since the container is binding to your source, you can make edits from your IDE
108108

109109
If you need to test the `build.sh` script, then do this:
110110

111-
1. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-ws-github adoptopenjdk/openjdk8:latest /bin/bash`
111+
1. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-ws-github openjdk:17-bullseye /bin/bash`
112112
+
113113
This will launch the Docker image and mount your source code at `spring-ws-github` and the temporary
114114
artifactory output directory at `spring-ws-artifactory`.

0 commit comments

Comments
 (0)