diff --git a/Dockerfile b/Dockerfile index 8645ef3..d3b9f48 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM quay.io/keycloak/keycloak:26.4.7-0 as builder +FROM quay.io/keycloak/keycloak:latest as builder # Enable health and metrics support ENV KC_HEALTH_ENABLED=true @@ -6,14 +6,15 @@ ENV KC_METRICS_ENABLED=true # Configure a database vendor ENV KC_DB=mariadb -ENV KC_FEATURES=authorization,docker,web-authn +ENV KC_FEATURES=authorization,admin2,docker,web-authn WORKDIR /opt/keycloak # for demonstration purposes only, please make sure to use proper certificates in production instead RUN keytool -genkeypair -storepass password -storetype PKCS12 -keyalg RSA -keysize 2048 -dname "CN=server" -alias server -ext "SAN:c=DNS:localhost,IP:127.0.0.1" -keystore conf/server.keystore -RUN /opt/keycloak/bin/kc.sh build --health-enabled=true --metrics-enabled=true +RUN /opt/keycloak/bin/kc.sh build -FROM quay.io/keycloak/keycloak:26.4.7-0 +FROM quay.io/keycloak/keycloak:latest COPY --from=builder /opt/keycloak/ /opt/keycloak/ -ENTRYPOINT ["/opt/keycloak/bin/kc.sh"] \ No newline at end of file +# change these values to point to a running postgres instance +ENTRYPOINT ["/opt/keycloak/bin/kc.sh"] diff --git a/README.md b/README.md deleted file mode 100644 index feaa698..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# keycloak-docker -Customized Keycloak image. - -## Usage -Run with `start --optimized`. \ No newline at end of file diff --git a/renovate.json b/renovate.json deleted file mode 100644 index 5db72dd..0000000 --- a/renovate.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:recommended" - ] -}