Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Build Server Module #14

Open
kairon007 opened this issue May 31, 2024 · 0 comments
Open

Unable to Build Server Module #14

kairon007 opened this issue May 31, 2024 · 0 comments

Comments

@kairon007
Copy link

cd backend
then tried to execute
docker build -t memzy .
Getting the following stacktrace

`0.997 Daemon will be stopped at the end of the build
14.09
14.09 > Configure project :
14.09 e: /home/gradle/src/build.gradle.kts:5:11: Unresolved reference: libs
14.09
14.09 FAILURE: Build failed with an exception.
14.09
14.09 * Where:
14.09 Build file '/home/gradle/src/build.gradle.kts' line: 5
14.09
14.09 * What went wrong:
14.09 Script compilation error:
14.09
14.09 Line 5: alias(libs.plugins.shadow)
14.09 ^ Unresolved reference: libs
14.09
14.09 1 error
14.09
14.09 * Try:
14.09 > Run with --stacktrace option to get the stack trace.
14.09 > Run with --info or --debug option to get more log output.
14.09 > Run with --scan to get full insights.
14.09
14.09 * Get more help at https://help.gradle.org
14.09
14.09 BUILD FAILED in 13s

Dockerfile:4

2 | COPY --chown=gradle:gradle . /home/gradle/src
3 | WORKDIR /home/gradle/src
4 | >>> RUN gradle shadowJar --no-daemon
5 |
6 | FROM openjdk:11

ERROR: failed to solve: process "/bin/sh -c gradle shadowJar --no-daemon" did not complete successfully: exit code: 1
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant