You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to update the code to use an APIKey instead of Authorization username password.
I not familiar with Kotlin, Gradle or Java, I can edit some lines of code but how to build a jar file is completely new for me. It would be very nice if you can add a Dockerfile that build jar files from sources. I try to do it like the following Dockerfile but only got "keycloak-webhook-0.4.0.jar", missing ""keycloak-webhook-0.4.0-all.jar"".
FROM gradle:jdk17
ENV APP_HOME=/usr/app
WORKDIR $APP_HOME
COPY build.gradle.kts settings.gradle.kts $APP_HOME
COPY gradle $APP_HOME/gradle
COPY --chown=gradle:gradle . /home/gradle/src
USER root
RUN chown -R gradle /home/gradle/src
RUN gradle build || return 0
COPY . .
RUN gradle clean build
ENV OUT_LIST=/output_jar.txt
RUN echo "$APP_HOME/build/libs/" >> $OUT_LIST
RUN ls -l $APP_HOME/build/libs/ >> $OUT_LIST
The text was updated successfully, but these errors were encountered:
I am trying to update the code to use an APIKey instead of Authorization username password.
I not familiar with Kotlin, Gradle or Java, I can edit some lines of code but how to build a jar file is completely new for me. It would be very nice if you can add a Dockerfile that build jar files from sources. I try to do it like the following Dockerfile but only got "keycloak-webhook-0.4.0.jar", missing ""keycloak-webhook-0.4.0-all.jar"".
The text was updated successfully, but these errors were encountered: