This repository has been archived by the owner on Jan 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated docker images for 1.2.2.Final
- Loading branch information
1 parent
f3332de
commit c95b86c
Showing
4 changed files
with
53 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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- | ||
|