keycloak-scim/testsuite/performance/load-balancer/wildfly-modcluster/Dockerfile

18 lines
541 B
Text
Raw Normal View History

2017-07-13 18:25:26 +00:00
FROM jboss/wildfly
ADD configs/ ./
ADD *.sh /usr/local/bin/
USER root
RUN chmod -v +x /usr/local/bin/*.sh
RUN yum -y install iproute
USER jboss
RUN $JBOSS_HOME/bin/jboss-cli.sh --file=mod-cluster-balancer.cli
RUN $JBOSS_HOME/bin/jboss-cli.sh --file=undertow.cli
RUN $JBOSS_HOME/bin/jboss-cli.sh --file=io-worker-threads.cli; \
cd $JBOSS_HOME/standalone; rm -rf configuration/standalone_xml_history log data tmp
HEALTHCHECK --interval=5s --timeout=5s --retries=12 CMD ["wildfly-healthcheck.sh"]
ENTRYPOINT [ "docker-entrypoint.sh" ]