Skip to content

Commit 9c6c577

Browse files
Vassiliy-KudryashovCaelmBleidd
authored andcommitted
Update docker-for-utbot-java.md (#1930)
Update documentation for updated docker image
1 parent 106b7e7 commit 9c6c577

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/ci/docker-for-utbot-java.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ description: Setting up docker for UTBot Java building/debugging
1111
It's available to download docker image with the environment for UTBot. The environment is also used in the crucial CI scripts focused on building project and running tests.
1212

1313
The docker image pre-installed environment includes:
14-
1. *Java 11* + *JDK* package
15-
3. *Gradle 7.4.2*
16-
3. *Kotlin compiler 1.7.10*
14+
1. *Java 17* + *JDK* package
15+
3. *Gradle 7.6.1*
16+
3. *Kotlin compiler 1.8.0*
1717

1818
It's based on Ubuntu [SOME VERSION].
1919

@@ -29,14 +29,14 @@ Do the following steps to run tests in docker container:
2929

3030
1. Pull docker image
3131
```
32-
docker pull unittestbot/java-env:java11-zulu-jdk-gradle7.4.2-kotlinc1.7.0
32+
docker pull unittestbot/java-env:java17-zulu-jdk-gradle7.6.1-kotlinc1.8.0
3333
```
3434
2. Run docker container
3535
```bash
3636
# -v <utbot-repository-root>:/usr/utbot-debug - mounts the host directory into the container directory
3737
# -it - make the container look like a terminal connection session
3838
# -w /usr/utbot-tests - sets up working directory inside the container
39-
docker run -it -v <utbot-repository-root>:/usr/utbot-tests --name utbot-tests -w /usr/utbot-tests unittestbot/java-env:java11-zulu-jdk-fx-gradle7.4.2-kotlinc1.7.0
39+
docker run -it -v <utbot-repository-root>:/usr/utbot-tests --name utbot-tests -w /usr/utbot-tests unittestbot/java-env:java17-zulu-jdk-gradle7.6.1-kotlinc1.8.0
4040
```
4141
3. Do whatever you want
4242

@@ -67,15 +67,15 @@ Do the following steps to debug UTBot in docker container:
6767

6868
2. Pull docker image
6969
```
70-
docker pull unittestbot/java-env:java11-zulu-jdk-fx-gradle7.4.2-kotlinc1.7.0
70+
docker pull unittestbot/java-env:java17-zulu-jdk-gradle7.6.1-kotlinc1.8.0
7171
```
7272
3. Run docker container
7373
```bash
7474
# -v <utbot-repository-root>:/usr/utbot-debug - mounts the host directory into the container directory
7575
# -it - make the container look like a terminal connection session
7676
# -w /usr/utbot-tests - sets up working directory inside the container
7777
# -p 5005:5005 - mounts the host port into the container port (debugging port)
78-
docker run -it -p 5005:5005 -v <utbot-repository-root>:/usr/utbot-debug --name utbot-debug -w /usr/utbot-tests unittestbot/java-env:java11-zulu-jdk-fx-gradle7.4.2-kotlinc1.7.0
78+
docker run -it -p 5005:5005 -v <utbot-repository-root>:/usr/utbot-debug --name utbot-debug -w /usr/utbot-tests unittestbot/java-env:java17-zulu-jdk-gradle7.6.1-kotlinc1.8.0
7979
```
8080
4. Set up gradle options for remote debug:
8181
```
@@ -92,4 +92,4 @@ Set up **breakpoints** wherever you want → **Run** new **Configuration** in **
9292
7. Exit container
9393
```
9494
exit
95-
```
95+
```

0 commit comments

Comments
 (0)