Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: fix JAVA_HOME not properly set in docker image (#4333)
### Motivation `JAVA_HOME` env variable is not properly set. I have tested `ARG TARGETARCH` works well, when we run `docker build`, it will automatically set the value. error log below: ``` bookie3_1 | JAVA_HOME not set, using java from PATH. (/usr/bin/java) bookie1_1 | JAVA_HOME not set, using java from PATH. (/usr/bin/java) bookie3_1 | Unrecognized VM option 'PrintGCApplicationStoppedTime' bookie3_1 | Error: Could not create the Java Virtual Machine. ``` Signed-off-by: ZhangJian He <[email protected]>
- Loading branch information