Public | Automated Build

Last pushed: 2 years ago
Dockerfile
# DOCKER-VERSION 0.10.0 FROM stackbrew/ubuntu:14.04 MAINTAINER Michael Guymon, michael@tobedevoured.com # # Torquebox # # Install deps RUN echo deb http://archive.ubuntu.com/ubuntu trusty main universe multiverse > /etc/apt/sources.list RUN apt-get update RUN apt-get install -y software-properties-common RUN add-apt-repository ppa:webupd8team/java -y RUN apt-get update RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections RUN apt-get install -y unzip wget oracle-java8-installer # Unzip the TB RUN wget -O /opt/torquebox-dist-3.1.0-bin.zip http://torquebox.org/release/org/torquebox/torquebox-dist/3.1.0/torquebox-dist-3.1.0-bin.zip && unzip -q /opt/torquebox-dist-3.1.0-bin.zip -d /opt && mv /opt/torquebox-3.1.0 /opt/torquebox RUN mkdir -p /opt/torquebox/applications && useradd torquebox -c"Torquebox system user" -M -ptorquebox # Set env for TB ENV TORQUEBOX_HOME /opt/torquebox ENV JBOSS_HOME /opt/torquebox/jboss ENV JRUBY_HOME /opt/torquebox/jruby ENV PATH $JBOSS_HOME/bin:$JRUBY_HOME/bin:$PATH ADD start_torquebox.sh /opt/torquebox/start_torquebox.sh RUN chown -R torquebox:torquebox /opt/torquebox && chmod u+x /opt/torquebox/start_torquebox.sh VOLUME ["/opt/torquebox/applications", "/opt/torquebox/jboss/standalone/log", "/opt/torquebox/jboss/standalone/data", "/opt/torquebox/jboss/standalone/deployments"] EXPOSE 9999 9990 9443 8009 8080 8443 45700 7600 57600 55200 45688 54200 5445 9876 5455 23364 4447 4712 4713 8675 8676 CMD ["/opt/torquebox/start_torquebox.sh"]
Source Repository