Skip to content
Snippets Groups Projects
Verified Commit eff2e4f9 authored by Ira ¯\_(ツ)_/¯'s avatar Ira ¯\_(ツ)_/¯
Browse files

Disable theme and template caching

parent f67e5014
No related branches found
No related tags found
No related merge requests found
FROM jboss/keycloak:latest
COPY ./keycloak-mailpass-rest-1.0.0.jar /opt/jboss/keycloak/standalone/deployments/
USER root
RUN microdnf update -y && microdnf install -y vim && microdnf clean all
RUN sed -i 's|<cacheThemes>true</cacheThemes>|<cacheThemes>false</cacheThemes>|' /opt/jboss/keycloak/standalone/configuration/standalone.xml
RUN sed -i 's|<cacheTemplates>true</cacheTemplates>|<cacheTemplates>false</cacheTemplates>|' /opt/jboss/keycloak/standalone/configuration/standalone.xml
RUN sed -i 's|<staticMaxAge>2592000</staticMaxAge>|<staticMaxAge>-1</staticMaxAge>|' /opt/jboss/keycloak/standalone/configuration/standalone.xml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment