Public Repository

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

this image has the following entrypoint:

/opt/jboss/wildfly/bin/standalone.sh -b 0.0.0.0 -bmanagement 0.0.0.0 --server-config=config/standalone2.xml

  • the configuration file "standalone2.xml" is expected to be in the subdirectory "config"
  • an identical path must be mapped for the cucumber reports. this path is configured in "arquillian.xml"

Startup like the following:

docker run --rm --name wildfly-carf \
-p 8080:8080 -p 9990:9990 \
-v /home/axel/docker/wildfly-config:/opt/jboss/wildfly/standalone/configuration/config \
-v /home/axel/docker/reports/:/home/axel/docker/reports/ \
awberle/wildfly-10-carf:2.0

Docker file:

wildfly 10

creates an admin user

copies postgres and hsql drivers to wildfly

starts wildfly binding to all interfaces

FROM jboss/wildfly:10.0.0.Final

MAINTAINER "axelberle@yahoo.de"

ENV WILDFLY_VERSION 10.0.0.Final
ENV JBOSS_HOME /opt/jboss/wildfly
ENV MODULE_PATH /modules/system/layers/base/
ENV POSTGRESQL_DRIVER postgresql-9.4-1205.jdbc41.jar

ENV HSQLDB_DRIVER hsqldb-2.3.3.jar
ENV POSTGRESQL_FILE ${MODULE_PATH}/org/postgresql/main/${POSTGRESQL_DRIVER}
ENV POSTGRESQL_MODULE ${MODULE_PATH}/org/postgresql/main/module.xml

ENV HSQLDB_FILE ${MODULE_PATH}/org/hsqldb/main/${HSQLDB_DRIVER}
ENV HSQLDB_MODULE ${MODULE_PATH}/org/hsqldb/main/module.xml

Create admin user

RUN $JBOSS_HOME/bin/add-user.sh admin 1admin1 --silent

Copy drivers

ADD ${POSTGRESQL_FILE} ${JBOSS_HOME}/${POSTGRESQL_FILE}
ADD ${POSTGRESQL_MODULE} ${JBOSS_HOME}/${POSTGRESQL_MODULE}

ADD ${HSQLDB_FILE} ${JBOSS_HOME}/${HSQLDB_FILE}
ADD ${HSQLDB_MODULE} ${JBOSS_HOME}/${HSQLDB_MODULE}

EXPOSE 8080
EXPOSE 9990

ENTRYPOINT ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0", "--server-config=config/standalone2.xml"]

Docker Pull Command
Owner
awberle

Comments (0)