Commit 8fb4cf4f authored by William Tucker's avatar William Tucker
Browse files

Fixed build issues with IDP proxy image

parent 6bf4145a
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -12,9 +12,15 @@ ARG THEME_NAME=esgf

FROM ${ESGF_REPOSITORY_BASE}/base:${ESGF_IMAGES_VERSION} as theme-source

USER root

# Redeclare ARGs
ARG THEME_GIT_REPOSITORY
ARG THEME_GIT_VERSION

# Install Git and clone the theme repository
RUN yum makecache && yum install -y git && yum clean all
RUN git clone --single-branch --b $THEME_GIT_VERSION $THEME_GIT_REPOSITORY /source
RUN git clone --single-branch -b $THEME_GIT_VERSION $THEME_GIT_REPOSITORY /source


FROM ${ESGF_REPOSITORY_BASE}/keycloak:${ESGF_IMAGES_VERSION}
@@ -23,6 +29,7 @@ FROM ${ESGF_REPOSITORY_BASE}/keycloak:${ESGF_IMAGES_VERSION}
ARG THEME_NAME
COPY --from=theme-source /source/theme/$THEME_NAME \
        /opt/jboss/keycloak/themes/$THEME_NAME

# Setup custom realm import
COPY realm.json /opt/jboss/deploy/realm.json
ENV KEYCLOAK_IMPORT /opt/jboss/deploy/realm.json
+0 −1
Original line number Diff line number Diff line
@@ -93,7 +93,6 @@
    },
    "smtpServer": {},
    "loginTheme": "esgf",
    "accountTheme": "esgf",
    "eventsEnabled": false,
    "eventsListeners": [
        "jboss-logging"