8000 ERROR: Failed to run 'build' command · keycloak keycloak · Discussion #36356 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

I figured out the issue, responding here for anyone experienced the same issue.

the reason that the container is throwing failed to run the build command is because the docker image is built before the jdbc jar is copied. All I have to do on the Dockerfile is to move this build command to the end of the file just before the ENTRYPOINT and it worked just fine.

...
RUN /opt/keycloak/bin/kc.sh build
ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]

That's all I have to do.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ramesh2905
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #36353 on January 10, 2025 20:43.

0