Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Commit

Permalink
updated docker images for 1.2.2.Final
Browse files Browse the repository at this point in the history
  • Loading branch information
EricWittmann committed Feb 29, 2016
1 parent f3332de commit c95b86c
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 2 deletions.
12 changes: 12 additions & 0 deletions on-wildfly10/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Use Wildfly 9 image as the base
FROM jboss/wildfly:10.0.0.Final

MAINTAINER Eric Wittmann <[email protected]>

ENV APIMAN_VERSION 1.2.2.Final

RUN cd $HOME/wildfly \
&& curl http://downloads.jboss.org/apiman/$APIMAN_VERSION/apiman-distro-wildfly10-$APIMAN_VERSION-overlay.zip | bsdtar -xvf-

# 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"]
39 changes: 39 additions & 0 deletions on-wildfly10/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
apiman on wildfly 10
===================

## Usage

To start up apiman

docker run -it apiman/on-wildfly10

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-wildfly10

## Building the image

docker build -t="apiman/on-wildfly10" --rm .

## Image accessible on Docker hub

This image is automatically built and published into [Docker Hub](https://registry.hub.docker.com/u/apiman/on-wildfly10/).


## 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-wildfly10
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-wildfly10:latest" .

And then run it like:

docker run -it --rm -p 8080:8080 -p 9990:9990 -p 8787:8787 myname/apiman-on-wildfly10

2 changes: 1 addition & 1 deletion on-wildfly8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM jboss/wildfly:8.2.1.Final

MAINTAINER Eric Wittmann <[email protected]>

ENV APIMAN_VERSION 1.2.1.Final
ENV APIMAN_VERSION 1.2.2.Final

RUN cd $HOME/wildfly \
&& curl http://downloads.jboss.org/apiman/$APIMAN_VERSION/apiman-distro-wildfly8-$APIMAN_VERSION-overlay.zip | bsdtar -xvf-
Expand Down
2 changes: 1 addition & 1 deletion on-wildfly9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM jboss/wildfly:9.0.2.Final

MAINTAINER Eric Wittmann <[email protected]>

ENV APIMAN_VERSION 1.2.1.Final
ENV APIMAN_VERSION 1.2.2.Final

RUN cd $HOME/wildfly \
&& curl http://downloads.jboss.org/apiman/$APIMAN_VERSION/apiman-distro-wildfly9-$APIMAN_VERSION-overlay.zip | bsdtar -xvf-
Expand Down

0 comments on commit c95b86c

Please sign in to comment.