From 8227df1fce591f1544871d0adcbfce552b20ca99 Mon Sep 17 00:00:00 2001 From: "Greg L. Turnquist" Date: Mon, 24 Jan 2022 12:52:55 -0600 Subject: [PATCH] Polishing. In steps to run stuff like CI, update it to use a JDK 17 container image. --- README.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.adoc b/README.adoc index 4805ff8b..0362fb5e 100644 --- a/README.adoc +++ b/README.adoc @@ -94,7 +94,7 @@ All of these use cases are great reasons to essentially run what Jenkins does on IMPORTANT: To do this you must have Docker installed on your machine. -1. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-ws-github adoptopenjdk/openjdk8:latest /bin/bash` +1. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-ws-github openjdk:17-bullseye /bin/bash` + This will launch the Docker image and mount your source code at `spring-ws-github`. + @@ -108,7 +108,7 @@ Since the container is binding to your source, you can make edits from your IDE If you need to test the `build.sh` script, then do this: -1. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-ws-github adoptopenjdk/openjdk8:latest /bin/bash` +1. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-ws-github openjdk:17-bullseye /bin/bash` + This will launch the Docker image and mount your source code at `spring-ws-github` and the temporary artifactory output directory at `spring-ws-artifactory`.