feat: custom theme loading
This commit is contained in:
12
entrypoint.sh.tmpl
Normal file
12
entrypoint.sh.tmpl
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
{{ if eq (env "CUSTOM_THEME_ENABLED") "1" }}
|
||||
microdnf update && microdnf install git
|
||||
git clone "$CUSTOM_THEME_URL" "/opt/jboss/keycloak/themes/$CUSTOM_THEME_NAME"
|
||||
{{ end }}
|
||||
|
||||
# upstream entrypoint
|
||||
# https://github.com/keycloak/keycloak-containers/blob/aa2e5515ccb05116e49ab38839d8fcfdd17c45aa/server/Dockerfile#L30
|
||||
/usr/local/bin/entrypoint.sh "$@"
|
||||
Reference in New Issue
Block a user