Skip to content

Instantly share code, notes, and snippets.

@rwngwn
Created July 8, 2015 07:54
Show Gist options
  • Save rwngwn/4debbec6814a4ce2da27 to your computer and use it in GitHub Desktop.
Save rwngwn/4debbec6814a4ce2da27 to your computer and use it in GitHub Desktop.
FROM jboss/wildfly
USER root
# Install packages necessary to run EAP
RUN yum -y install python PyYAML python-setuptools git && yum clean all
# Install cct
RUN git clone https://github.com/containers-tools/cct && \
cd cct && \
easy_install .
USER jboss
# Set the default command to run on boot
# This will boot WildFly in the standalone mode and bind to all interface
ENTRYPOINT ["/usr/bin/cct", "-c"]
CMD ["/opt/jboss/wildfly/bin/standalone.sh -b 0.0.0.0"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment