Add WF 11 Docker image.
ADD
on-wildfly11/Dockerfile
+# Use WildFly 11 image as the base
+FROM jboss/wildfly:11.0.0.Final
+
+MAINTAINER Marc Savy <marc.savy@redhat.com>
+
+ENV APIMAN_VERSION 1.3.2.Final
+
+RUN cd $HOME/wildfly \
+ && curl http://downloads.jboss.org/apiman/$APIMAN_VERSION/apiman-distro-wildfly11-$APIMAN_VERSION-overlay.zip | bsdtar -xvf-
+
+USER root
+
+RUN chown -R jboss:0 ${JBOSS_HOME} \
+ && chmod -R g+rw ${JBOSS_HOME}
+
+USER jboss
+
+# Set the default command to run on boot
+ENTRYPOINT ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0", "-c", "standalone-apiman.xml"]
+

ADD
on-wildfly11/README.md
+Apiman on WildFly 11
+===================
+
+## Usage
+
+To start up apiman
+
+ docker run -it apiman/on-wildfly11
+
+You may want to map the port(s) so you can access the app
+
+ docker run -it -p 8080:8080 -p 8443:8443 apiman/on-wildfly11
+
+## Building the image
+
+ docker build -t="apiman/on-wildfly11" --rm .
+
+## Image accessible on Docker hub
+
+This image is automatically built and published into [Docker Hub](https://registry.hub.docker.com/u/apiman/on-wildfly11/).
+
+
+## How to extend the image
+
+You might probably want to extend the image. Usually creating/enabling admin user for wildfly is a good practice, and also, if you want to debug the apiman, you can enable debugging, and expose the debug port like so:
+
+ FROM apiman/on-wildfly11
+ RUN $JBOSS_HOME/bin/add-user.sh admin admin123! --silent
+ EXPOSE 8787
+ CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0", "-bmanagement", "0.0.0.0", "-c", "standalone-apiman.xml", "--debug"]
+
+You can build your own extended image with:
+
+ docker build --rm -t "myname/apiman-on-wildfly11:latest" .
+
+And then run it like:
+
+ docker run -it --rm -p 8080:8080 -p 9990:9990 -p 8787:8787 myname/apiman-on-wildfly11
+

Add WF 11 Docker image.

Signed-off-by: Marc Savy <marc@rhymewithgravy.com>