Hello, please could anyone help mi with this trouble? I have dockerfile and docker compose for keycloak. I allways updating with docker-compose build and most of previous version (or another docker images) it works. I’ve changed my dockerfile to 20.0.2 from 18 . We need v20 beause of custom themes. I’ve successfully updated to v20 , i see it in logs and admin console also say that version of keycloak is 20, but it looks still same as 18. My another collegue has 20 and it has differen default gui. I don’t have any specific opitions in my docker-compose / dockerfile.
dockercompose
version: “3.2”
services:
keycloak:
build: ./keycloak
ports:
- “8080:8080”
- “8443:8443”
- “7800:7800”
command:
[
‘–hostname=somedomain.some.xy’,
‘–proxy passthrough’,
‘–https-certificate-file=/etc/x509/https/tls.crt’,
‘–https-certificate-key-file=/etc/x509/https/tls.key’,
‘–https-port=8443’,
‘–http-port=8080’,
‘–spi-theme-welcome-theme=lexis’,
‘–optimized’
]
volumes:
- “/opt/keycloak/cert/:/etc/x509/https/”
- “/etc/localtime:/etc/localtime:ro”
env_file:
- db.env
restart: always
dockerfile
FROM Quay as builder
RUN echo “Show-config before build”
RUN /opt/keycloak/bin/kc.sh show-config
ENV KC_METRICS_ENABLED=true
ENV KC_DB=postgres
ENV KC_CACHE_CONFIG_FILE=cache-ispn-jdbc-ping.xml
COPY ./cache-ispn-jdbc-ping.xml /opt/keycloak/conf/cache-ispn-jdbc-ping.xml
RUN /opt/keycloak/bin/kc.sh build
RUN echo “Show-config after build”
RUN /opt/keycloak/bin/kc.sh show-config
FROM Quay
COPY --from=builder /opt/keycloak/lib/quarkus/ /opt/keycloak/lib/quarkus/
WORKDIR /opt/keycloak
COPY themes/ /opt/keycloak/themes/
ENTRYPOINT [“/opt/keycloak/bin/kc.sh”, “start”]