10 months ago
Getting this error
stage-0
RUN ./gradlew clean build -x check -x test
147ms
Error: Unable to access jarfile /app/gradle/wrapper/gradle-wrapper.jar
Dockerfile:16
-------------------
14 | # build phase
15 | COPY . /app/.
16 | >>> RUN --mount=type=cache,id=s/cee051fa-769d-40da-a0ce-04b465eb9112-/root/gradle,target=/root/.gradle ./gradlew clean build -x check -x test
17 |
18 | # setup phase
-------------------
ERROR: failed to build: failed to solve: process "/bin/bash -ol pipefail -c ./gradlew clean build -x check -x test" did not complete successfully: exit code: 1
Error: Docker build failed
Pinned Solution
10 months ago
Hi,
Please make sure that you've committed the file in question. This is not a file that should be ignored by GitHub.
2 Replies
10 months ago
Hey there! We've found the following might help you get unblocked faster:
- 🧵 Error: Unable to access jarfile target/*jar
- 🧵 while deploying i'm getting error Unable to access jarfile target/*jar
- 🧵 Deploying application am getting error
If you find the answer from one of these, please let us know by solving the thread!
10 months ago
Hi,
Please make sure that you've committed the file in question. This is not a file that should be ignored by GitHub.
Status changed to Solved noahd • 9 months ago