You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
RUN apk update && apk add ca-certificates && update-ca-certificates && apk add openssl && apk add tar
RUN adduser -S $KEYCLOAK_SYSTEM_USER
USER $KEYCLOAK_SYSTEM_USER
WORKDIR $KEYCLOAK_USER_HOME_FOLDER
RUN wget https://downloads.jboss.org/keycloak/$KEYCLOAK_VERSION/keycloak-$KEYCLOAK_VERSION.tar.gz && tar -zxf keycloak-$KEYCLOAK_VERSION.tar.gz && rm *.gz
RUN mkdir $SCRIPTS_FOLDER && mkdir $DATA_FILE_FOLDER
COPY ./data_files/* $DATA_FILE_FOLDER/
COPY ./scripts/* $SCRIPTS_FOLDER/
RUN sh $KEYCLOAK_BIN_FOLDER/add-user-keycloak.sh -u $KEYCLOAK_ADMIN_USERNAME -p $KEYCLOAK_ADMIN_PASSWORD
USER root
RUN chmod -Rf 755 $SCRIPTS_FOLDER && chmod -Rf 744 $DATA_FILE_FOLDER