FROM jboss/wildfly USER root # Update yum and install required programs RUN yum install -y unzip && yum install -y wget && yum install -y mc && yum -y install nc RUN yum clean all # Drop wildfly RUN rm -rf /opt/jboss/wildfly* # Download mysql driver 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 # Download and unpack EAP64 distribution TODO: Check if it's an issue for EAP 6.4 RUN cd / RUN wget https://dl.dropboxusercontent.com/u/5525920/jboss-eap-6.4.0.zip RUN sleep 3 RUN unzip -q jboss-eap-6.4.0.zip # Make sure the distribution is available from a well-known place RUN mv jboss-eap-6.4 /opt/eap6 RUN rm -rf jboss-eap-6.4.0.zip EXPOSE 8787 CMD [ "/bin/bash" ]