Created
July 8, 2015 07:54
-
-
Save rwngwn/4debbec6814a4ce2da27 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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