I'm trying to run a gradle build using docker image eclipse-temurin:11-jdk-alpine
I get the following error during the provisiong process
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':project:compileJava'.
> Could not resolve all dependencies for configuration ':project:compileClasspath'.
> Failed to calculate the value of task ':project:compileJava' property 'javaCompiler'.
> Cannot find a Java installation on your machine matching this tasks requirements: {languageVersion=8, vendor=Eclipse Temurin, implementation=vendor-specific} for LINUX on x86_64.
> No matching toolchain could be found in the locally installed toolchains or the configured toolchain download repositories. Some toolchain resolvers had provisioning failures: foojay (Unable to download toolchain matching the requirements ({languageVersion=8, vendor=Eclipse Temurin, implementation=vendor-specific}) from 'https://api.foojay.io/disco/v3.0/ids/ac4c40cdd772fae20f1758b6fd9ac1d6/redirect', due to: Unpacked JDK archive does not contain a Java home: /root/.gradle/.tmp/jdks/OpenJDK8U-jdk_x64_linux_hotspot_8u442b0613882921797832945044.tmp).
I'm unsure what the error means. When I download the file from https://api.foojay.io/disco/v3.0/ids/ac4c40cdd772fae20f1758b6fd9ac1d6/redirect and extract it, the structure looks correct.
I'm trying to run a gradle build using docker image
eclipse-temurin:11-jdk-alpineI get the following error during the provisiong process
I'm unsure what the error means. When I download the file from
https://api.foojay.io/disco/v3.0/ids/ac4c40cdd772fae20f1758b6fd9ac1d6/redirectand extract it, the structure looks correct.