-
Notifications
You must be signed in to change notification settings - Fork 68
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
Content or not is indicated via a .dodeploy marker file #3
Comments
If I have only read the README.txt file in the deployment folder :)
so added
getting back
investigating... |
So what do you do when the downloaded file is too small? I was using curl instead of usual wget (not by default available on jboss/keycloak container) and forgot -L to handle redirect. But definately interesting thing I have learned about .dodeploy files. I hope you don't mind the noise So in summary, if you are using
[SOLVED] |
@styk-tv Hello, Thank you for contribution by rising issue. Please try this Dockerfile. FROM maven:3.5-jdk-8 AS builder
RUN git clone https://github.com/wadahiro/keycloak-discord.git && \
git clone https://gitlab.com/xxtheme.git
# Build keycloak discord plugin
WORKDIR /keycloak-discord
RUN mvn package && cp /keycloak-discord/ear/target/keycloak-discord-ear-0.2.0.ear /keycloak-discord/ear/target/keycloak-discord.ear
FROM jboss/keycloak:8.0.1
# Copy keycloak-xxx-theme & keycloak discord plugin
COPY --chown=jboss:root --from=builder /keycloak-discord/ear/target/keycloak-discord.ear /opt/jboss/keycloak/standalone/deployments/
COPY --chown=jboss:root --from=builder /keycloak-xxx-theme/src/main/resources/theme/ /opt/jboss/keycloak/themes/ |
Thank. you for your reply, as I was debugging this I autoresolved so this is here as an FYI only. Essentialy in kubernetes helm chart listed above, there is a capability to launch some code on pre-start without having to modify the original container. Above two lines were only two things that I had to add Many thanks for your comment. All is sorted. Maybe add some of this to the documentation somewhere. I will close this now. |
Hi, thanks for publishing this component. I wanted to give it a go with 8.0.1 but getting above. Posting here but will try to find about .dodeploy files now....
The text was updated successfully, but these errors were encountered: