Skip to content

Commit f775d48

Browse files
Update docker image build instructions.
Closes: #4372
1 parent 370b414 commit f775d48

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: CI.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ All of these use cases are great reasons to essentially run what the CI server d
1616

1717
IMPORTANT: To do this you must have Docker installed on your machine.
1818

19-
1. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-data-mongodb-github springci/spring-data-openjdk8-with-mongodb-4.0:latest /bin/bash`
19+
1. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-data-mongodb-github springci/spring-data-openjdk17-with-mongodb-5.0.3:latest /bin/bash`
2020
+
2121
This will launch the Docker image and mount your source code at `spring-data-mongodb-github`.
2222
+

Diff for: ci/README.adoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ All of these use cases are great reasons to essentially run what Concourse does
1010

1111
IMPORTANT: To do this you must have Docker installed on your machine.
1212

13-
1. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-data-mongodb-github springci/spring-data-8-jdk-with-mongodb /bin/bash`
13+
1. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-data-mongodb-github springci/spring-data-openjdk17-with-mongodb-5.0.3 /bin/bash`
1414
+
1515
This will launch the Docker image and mount your source code at `spring-data-mongodb-github`.
1616
+
@@ -23,7 +23,7 @@ Since the container is binding to your source, you can make edits from your IDE
2323
If you need to test the `build.sh` script, do this:
2424

2525
1. `mkdir /tmp/spring-data-mongodb-artifactory`
26-
2. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-data-mongodb-github --mount type=bind,source="/tmp/spring-data-mongodb-artifactory",target=/spring-data-mongodb-artifactory springci/spring-data-8-jdk-with-mongodb /bin/bash`
26+
2. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-data-mongodb-github --mount type=bind,source="/tmp/spring-data-mongodb-artifactory",target=/spring-data-mongodb-artifactory springci/spring-data-openjdk17-with-mongodb-5.0.3 /bin/bash`
2727
+
2828
This will launch the Docker image and mount your source code at `spring-data-mongodb-github` and the temporary
2929
artifactory output directory at `spring-data-mongodb-artifactory`.
@@ -36,4 +36,4 @@ IMPORTANT: `build.sh` doesn't actually push to Artifactory so don't worry about
3636
It just deploys to a local folder. That way, the `artifactory-resource` later in the pipeline can pick up these artifacts
3737
and deliver them to artifactory.
3838

39-
NOTE: Docker containers can eat up disk space fast! From time to time, run `docker system prune` to clean out old images.
39+
NOTE: Docker containers can eat up disk space fast! From time to time, run `docker system prune` to clean out old images.

0 commit comments

Comments
 (0)