bumpy-manchester-97826
01/09/2023, 5:57 PMdocker build -t data-catalog-frontend:0.1 -f docker/datahub-frontend/Dockerfile .
However I’m getting (in the thread)bumpy-manchester-97826
01/09/2023, 5:58 PM[+] Building 3.5s (8/14)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 35B 0.0s
=> [internal] load metadata for <http://docker.io/library/alpine:3|docker.io/library/alpine:3> 3.0s
=> CACHED [base 1/3] FROM <http://docker.io/library/alpine:3@sha256:f271e74b17ced29b915d351685fd4644785c6d1559dd1f2d4189a5e851ef753a|docker.io/library/alpine:3@sha256:f271e74b17ced29b915d351685fd4644785c6d1559dd1f2d4189a5e851ef753a> 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 226B 0.0s
=> CANCELED [base 2/3] RUN addgroup -S datahub && adduser -S datahub -G datahub 0.5s
=> CACHED [base 3/3] RUN apk --no-cache --update-cache --available upgrade && apk --no-cache add curl && apk --no-cache add openjdk11-jre --repository=<http://dl-cdn.alpinelinux.org/alpine/edge/community> 0.0s
=> ERROR [prod-install 1/5] COPY ./datahub-frontend.zip / 0.0s
------
> [prod-install 1/5] COPY ./datahub-frontend.zip /:
------
failed to compute cache key: "/datahub-frontend.zip" not found: not foundbumpy-manchester-97826
01/09/2023, 5:58 PMincalculable-ocean-74010
01/09/2023, 6:04 PMbumpy-manchester-97826
01/09/2023, 7:40 PM./gradlew :datahub-frontend:dist -x yarnTest -x yarnLint as it’s only a frontend image I want to build.bumpy-manchester-97826
01/10/2023, 10:29 AMincalculable-ocean-74010
01/10/2023, 11:20 AMbumpy-manchester-97826
01/10/2023, 1:46 PMincalculable-ocean-74010
01/10/2023, 2:03 PMbumpy-manchester-97826
01/10/2023, 2:24 PMincalculable-ocean-74010
01/10/2023, 2:28 PMincalculable-ocean-74010
01/10/2023, 2:29 PMbumpy-manchester-97826
01/10/2023, 2:30 PM./gradlew :datahub-frontend:dist -x yarnTest -x yarnLint from an up to date master does not put datahub-frontend.zip where it needs to be for the docker build. In fact, it doesn’t create the zip file at all - hence the original error.bumpy-manchester-97826
01/10/2023, 2:31 PM./gradlew :datahub-frontend:dist -x yarnTest -x yarnLint does create the zip filebumpy-manchester-97826
01/10/2023, 2:33 PMincalculable-ocean-74010
01/10/2023, 3:28 PMdocker gradle task from datahub-frontend module: ./gradlew :datahub-frontend , that should compile the project and create the docker image locallybumpy-manchester-97826
01/10/2023, 3:34 PMmodern-answer-65441
03/21/2023, 4:42 PMFAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':li-utils:compileMainGeneratedDataTemplateJava'.
> Could not find tools.jar. Please check that /usr/lib/jvm/java-8-openjdk-amd64 contains a valid JDK installation.modern-answer-65441
03/21/2023, 4:43 PMexport JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64bumpy-manchester-97826
03/23/2023, 2:43 PM