Skip to content

Instantly share code, notes, and snippets.

@rwngwn
Created July 8, 2015 07:42
Show Gist options
  • Save rwngwn/50f655cb789551b14abb to your computer and use it in GitHub Desktop.
Save rwngwn/50f655cb789551b14abb 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 python-devel python-setuptools git gcc libxml2-devel libxslt-devel && 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