-
Notifications
You must be signed in to change notification settings - Fork 4
Description
=> ERROR [build 4/5] RUN gradle build 3.7s
[build 4/5] RUN gradle build:
0.446 Starting a Gradle Daemon (subsequent builds will be faster)
3.244
3.244 > Configure project :
3.244 fatal: detected dubious ownership in repository at '/home/gradle/src'
3.244 To add an exception for this directory, call:
3.244
3.245 git config --global --add safe.directory /home/gradle/src
3.245
3.245 FAILURE: Build failed with an exception.
3.245
3.245 * Where:
3.245 Build file '/home/gradle/src/build.gradle' line: 26
3.245
3.245 * What went wrong:
3.245 A problem occurred evaluating root project 'src'.
3.245 > Process 'command 'git'' finished with non-zero exit value 128
3.245
3.245 * Try:
3.245 > Run with
3.245 Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
3.245
3.245 You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
3.245
3.245 For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
3.246 --stacktrace option to get the stack trace.
3.246 > Run with --info or --debug option to get more log output.
3.246 > Run with --scan to get full insights.
3.246 > Get more help at https://help.gradle.org.
3.246
3.246 BUILD FAILED in 3s
Dockerfile:4
2 | COPY --chown=gradle:gradle . /home/gradle/src
3 | WORKDIR /home/gradle/src
4 | >>> RUN gradle build
5 | RUN unzip -d /app build/distributions/gtfsvtor.zip
6 |
ERROR: failed to solve: process "/bin/sh -c gradle build" did not complete successfully: exit code: 1
View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/s3wdnip58vytzg1sxnjymtvas