keycloak-scim/testsuite/docker-cluster/wildfly/Dockerfile

26 lines
697 B
Text
Raw Normal View History

FROM jboss/wildfly:8.2.0.Final
2014-09-17 18:57:09 +00:00
USER root
# Update yum and install required programs
2014-09-17 18:57:09 +00:00
RUN yum install -y unzip && yum install -y wget && yum install -y mc && yum -y install nc
RUN yum clean all
# Download mysql driver
2014-09-17 18:57:09 +00:00
RUN cd /tmp
RUN wget http://search.maven.org/remotecontent?filepath=mysql/mysql-connector-java/5.1.32/mysql-connector-java-5.1.32.jar
RUN mv *.jar /mysql-connector-java-5.1.32.jar
2014-09-17 18:57:09 +00:00
ADD keycloak-wildfly-trigger.sh /keycloak-wildfly-trigger.sh
RUN chmod u+x /keycloak-wildfly-trigger.sh
2014-09-17 18:57:09 +00:00
ENV JBOSS_HOME /opt/jboss/wildfly
ENV JBOSS_MODULES_HOME $JBOSS_HOME/modules/system/layers/base
ENV JBOSS_TYPE wildfly
ENV NODE_PREFIX wf
2014-09-17 18:57:09 +00:00
EXPOSE 8787
CMD [ "/keycloak-wildfly-trigger.sh" ]