YoungWilliamZ/fisco-bcos-browser-docker

Docker compose build 失败

juliofeng opened this issue · 3 comments

 => ERROR [5/8] RUN gradle build                                                                                                                                     5.8s
------
 > [5/8] RUN gradle build:
#8 0.769
#8 0.769 Welcome to Gradle 7.1!
#8 0.769
#8 0.770 Here are the highlights of this release:
#8 0.770  - Faster incremental Java compilation
#8 0.770  - Easier source set configuration in the Kotlin DSL
#8 0.771
#8 0.771 For more details see https://docs.gradle.org/7.1/release-notes.html
#8 0.771
#8 0.868 Starting a Gradle Daemon (subsequent builds will be faster)
#8 5.268
#8 5.268 FAILURE: Build failed with an exception.
#8 5.268
#8 5.268 * Where:
#8 5.268 Build file '/fisco-bcos-browser/server/fisco-bcos-browser/build.gradle' line: 3
#8 5.269
#8 5.269 * What went wrong:
#8 5.269 A problem occurred evaluating root project 'fisco-bcos-browser'.
#8 5.269 > Plugin with id 'maven' not found.
#8 5.270
#8 5.270 * Try:
#8 5.270 Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
#8 5.271
#8 5.271 * Get more help at https://help.gradle.org
#8 5.271
#8 5.271 BUILD FAILED in 4s
#8 5.272 Unable to list file systems to check whether they can be watched. The whole state of the virtual file system has been discarded. Reason: Could not query file systems: could not open mount file (errno 2: No such file or directory)

yes,The same problem
Build file '/fisco-bcos-browser/server/fisco-bcos-browser/build.gradle' line: 3

saiwg commented

Higher versions of gradle have removed the maven plugin, please use gradle v 5.2.1
FROM gradle:jdk8
change to
FROM gradle:5.2.1-jdk8