This commit is contained in:
parent
30e465346a
commit
a1dbdeae0d
1 changed files with 8 additions and 5 deletions
13
Dockerfile
13
Dockerfile
|
@ -23,15 +23,18 @@ ENV KC_CACHE=local
|
||||||
ENV KC_HTTP_ENABLED=true
|
ENV KC_HTTP_ENABLED=true
|
||||||
ENV KC_PROXY_HEADERS=xforwarded
|
ENV KC_PROXY_HEADERS=xforwarded
|
||||||
|
|
||||||
ADD --chown=keycloak:keycloak --chmod=644 \
|
# ADD --chown=keycloak:keycloak --chmod=644 \
|
||||||
https://github.com/wadahiro/keycloak-discord/releases/download/v0.5.0/keycloak-discord-0.5.0.jar \
|
# https://github.com/wadahiro/keycloak-discord/releases/download/v0.5.0/keycloak-discord-0.5.0.jar \
|
||||||
/opt/keycloak/providers/discord.jar
|
|
||||||
# COPY --from=discord_builder --chown=keycloak:keycloak --chmod=644 \
|
|
||||||
# /keycloak-discord/target/keycloak-discord-0.5.1-SNAPSHOT.jar \
|
|
||||||
# /opt/keycloak/providers/discord.jar
|
# /opt/keycloak/providers/discord.jar
|
||||||
|
COPY --from=discord_builder --chown=keycloak:keycloak --chmod=644 \
|
||||||
|
/keycloak-discord/target/keycloak-discord-0.5.1-SNAPSHOT.jar \
|
||||||
|
/opt/keycloak/providers/discord.jar
|
||||||
WORKDIR /opt/keycloak
|
WORKDIR /opt/keycloak
|
||||||
RUN /opt/keycloak/bin/kc.sh build
|
RUN /opt/keycloak/bin/kc.sh build
|
||||||
|
|
||||||
FROM quay.io/keycloak/keycloak:${KC_VERSION}
|
FROM quay.io/keycloak/keycloak:${KC_VERSION}
|
||||||
COPY --from=builder /opt/keycloak/ /opt/keycloak/
|
COPY --from=builder /opt/keycloak/ /opt/keycloak/
|
||||||
|
COPY --from=discord_builder --chown=keycloak:keycloak --chmod=644 \
|
||||||
|
/keycloak-discord/target/keycloak-discord-0.5.1-SNAPSHOT.jar \
|
||||||
|
/opt/keycloak/providers/discord.jar
|
||||||
ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]
|
ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]
|
Loading…
Reference in a new issue