Verified Commit b72cf1a3 authored by Hugo's avatar Hugo
Browse files

(feat) add metrics

parent e2c50f61
Pipeline #1973 passed with stages
in 1 minute and 21 seconds
......@@ -2,13 +2,15 @@ ARG VERSION
FROM quay.io/keycloak/keycloak:${VERSION} as builder
ENV KC_HEALTH_ENABLED=true
ENV KC_DB=postgres
RUN curl "https://lab.libreho.st/libre.sh/scim/keycloak-scim/-/jobs/artifacts/main/raw/build/libs/keycloak-scim-1.0-SNAPSHOT-all.jar?job=package" -Lo /opt/keycloak/providers/keycloak-scim-1.0-SNAPSHOT-all.jar
RUN curl "https://lab.libreho.st/libre.sh/scim/keycloak-scim/-/jobs/artifacts/main/raw/build/libs/keycloak-scim-1.0-SNAPSHOT-all.jar?job=package" -Lo /opt/keycloak/providers/keycloak-scim-1.0-SNAPSHOT-all.jar
RUN curl https://github.com/aerogear/keycloak-metrics-spi/releases/download/2.5.3/keycloak-metrics-spi-2.5.3.jar -Lo /opt/keycloak/providers/keycloak-metrics-spi-2.5.3.jar
COPY ./liiibre.jar /opt/keycloak/providers/liiibre.jar
RUN /opt/keycloak/bin/kc.sh build
ARG VERSION
FROM quay.io/keycloak/keycloak:${VERSION}
COPY --from=builder /opt/keycloak/ /opt/keycloak/
ENV DISABLE_EXTERNAL_ACCESS=true
WORKDIR /opt/keycloak
ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]
CMD ["start"]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment