This project builds a docker container for running JBoss EAP 6.4.5.GA.
Before running the build:
- Install Docker
- Setup the /distribution directory, by adding the JBoss EAP 6.4.0 zip distribution and any roll-up patch files (jboss-eap-6.4.0.zip / jboss-eap-6.4.x-patch.zip)
- Setup the /jce-unlimited directory, by adding the JCE unlimited policy files (local_policy.jar / US_export_policy.jar)
- Setup the /trusted-root-ca directory, by adding your trusted root CA files (in .pem format)
Once you have completed steps 1..4 you can build an image using the following command:
$ docker build -t fbascheper/redhat-jboss-eap .
$ docker build -t fbascheper/redhat-jboss-eap:6.4.5 .
$ docker push fbascheper/redhat-jboss-eap
$ docker push fbascheper/redhat-jboss-eap:6.4.5 §
You can run the JBoss-EAP container and automatically start an EAP instance with the following command::
$ docker run -P -it --rm -e JBOSS_USER=jbossadmin -e JBOSS_PASSWORD=jboss@min1 \
fbascheper/redhat-jboss-eap:6.4.5
Or you can run the container linked to postgres-td container and start a bash shell or jboss-cli.sh (as user jboss)
$ docker run -P -it --rm -e JBOSS_USER=jbossadmin -e JBOSS_PASSWORD=jboss@min1 \
fbascheper/redhat-jboss-eap:6.4.5 bash
$ docker run -P -it --rm -e JBOSS_USER=jbossadmin -e JBOSS_PASSWORD=jboss@min1 \
fbascheper/redhat-jboss-eap:6.4.5 jboss-cli.sh -c
The extension-mechanism works in the same fashion as the postgresql docker image, i.e. by adding your own shell script in the docker-entrypoint directory.