Closed dmuhs closed 8 years ago
This is related to the wrong Java version used inside the Docker container. The Dockerfile should specify from java:8
.
When changing the Dockerfile to FROM java:8
the build fails with the following exception:
* What went wrong:
Execution failed for task ':task:compileJava'.
> invalid source release: 1.8
I upgraded the Dockerfile base image version to java:8
. The same error above continued to show. However, after deleting all java:x
images from docker and pulling only java:8
again, the build turned out successful. I figure that the issue appeared due to my painfully slow internet connection at home, which maybe resulted in a failed validation.
When starting the gradlew test command in the current build located on the
checker
branch (as for 3c80063b20878a89347634e490fb671e8a33f422), the following error log is printed (test cmd:../gradlew --debug --stacktrace -DsolutionPath={solutionPath} test
):In the context of this issue the last error response of the daemon failing is irrelevant as this is a problem of the container-spawning functionality that currently still ignores the
--rm
parameter after execution.