Skip to content

Commit 790befa

Browse files
authored
fix(doc): docker build add jdk 8 reminder (#35)
1 parent aa37053 commit 790befa

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

tools/docker/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ If you encounter any problems during the build or testing process, please refer
55

66
## Prerequisites
77

8+
- Docker
9+
- JDK 8 (required by Gradle)
10+
811
Follow the [getting-started](https://github.com/tronprotocol/tron-docker/blob/main/README.md#getting-started) guide to download Docker and the tron-docker repository. Then, navigate to the gradlew directory.
912
```
1013
cd ./tools/gradlew

tools/trond/cmd/docker/build.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ var buildCmd = &cobra.Command{
1717
Build java-tron docker image locally. The master branch of java-tron repository will be built by default, using jdk1.8.0_202.
1818
`),
1919
Example: heredoc.Doc(`
20-
# Build java-tron docker image, defualt: tronprotocol/java-tron:latest
20+
# Please ensure that JDK 8 is installed, as it is required to execute the commands below.
21+
# Build java-tron docker image, default: tronprotocol/java-tron:latest.
2122
$ ./trond docker build
2223
2324
# Build java-tron docker image with specified org, artifact and version

tools/trond/docs/trond_docker_build.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ trond docker build [flags]
1414
### Examples
1515

1616
```
17-
# Build java-tron docker image, defualt: tronprotocol/java-tron:latest
17+
# Please ensure that JDK 8 is installed, as it is required to execute the commands below.
18+
# Build java-tron docker image, default: tronprotocol/java-tron:latest.
1819
$ ./trond docker build
1920
2021
# Build java-tron docker image with specified org, artifact and version

0 commit comments

Comments
 (0)