Skip to content

Commit

Permalink
added alpine image for jboss 4.2.3.GA-jdk6
Browse files Browse the repository at this point in the history
  • Loading branch information
andrealbinop committed Aug 4, 2016
1 parent 2fe28c1 commit a314f7f
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
22 changes: 22 additions & 0 deletions jboss-as/4.2.3.GA/jdk-6-alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM andreptb/oracle-java:6-alpine

# JBoss version
ENV JBOSS_VERSION 4.2.3.GA
ENV JBOSS_HOME /opt/jboss/jboss4

# default port
EXPOSE 8080

# Installs curl, required by wget ssl
#RUN apk update && apk add --no-cache curl
RUN apk update && apk add --no-cache openssl

# Installs jboss
#RUN cd $HOME && curl -L -o jboss-$JBOSS_VERSION.zip http://sourceforge.net/projects/jboss/files/JBoss/JBoss-$JBOSS_VERSION/jboss-$JBOSS_VERSION.zip/download && \
RUN cd $HOME && wget -q http://sourceforge.net/projects/jboss/files/JBoss/JBoss-$JBOSS_VERSION/jboss-$JBOSS_VERSION.zip/download -O jboss-$JBOSS_VERSION.zip && \
unzip -qo jboss-$JBOSS_VERSION.zip && \
mkdir -p /opt/jboss && \
mv $HOME/jboss-$JBOSS_VERSION $JBOSS_HOME && \
rm -rf jboss-$JBOSS_VERSION.zip $JBOSS_HOME/server/all $JBOSS_HOME/server/minimal $JBOSS_HOME/docs

CMD ["/opt/jboss/jboss4/bin/run.sh", "-b", "0.0.0.0"]
1 change: 1 addition & 0 deletions jboss-as/4.2.3.GA/jdk-6-alpine/README.md
3 changes: 2 additions & 1 deletion jboss-as/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

- [`5.1.0.GA`, `latest` (*jboss-as/5.1.0.GA/Dockerfile*)](https://github.com/andreptb/Dockerfiles/blob/master/jboss-as/5.1.0.GA/Dockerfile)
- [`4.2.3.GA`, `4.2.3.GA-jdk7` (*jboss-as/4.2.3.GA/jdk-7/Dockerfile*)](https://github.com/andreptb/Dockerfiles/blob/master/jboss-as/4.2.3.GA/jdk-7/Dockerfile)
- [`4.2.3.GA-jdk6` (*jboss-as/4.2.3.GA/jdk-6/Dockerfile*)](https://github.com/andreptb/Dockerfiles/blob/master/jboss-as/4.2.3.GA/jdk-6/Dockerfile)
- [`4.2.3.GA-jdk6` (*jboss-as/4.2.3.GA/jdk-6/Dockerfile*)](https://github.com/andreptb/Dockerfiles/blob/master/jboss-as/4.2.3.GA/jdk-6/Dockerfile)
- [`4.2.3.GA-jdk6-alpine` (*jboss-as/4.2.3.GA/jdk-6-alpine/Dockerfile*)](https://github.com/andreptb/Dockerfiles/blob/master/jboss-as/4.2.3.GA/jdk-6-alpine/Dockerfile)
- [`4.0.5.GA`, `4.0.5.GA-jdk7` (*jboss-as/4.0.5.GA/jdk-7/Dockerfile*)](https://github.com/andreptb/Dockerfiles/blob/master/jboss-as/4.0.5.GA/jdk-7/Dockerfile)
- [`4.0.5.GA-jdk6` (*jboss-as/4.0.5.GA/jdk-6/Dockerfile*)](https://github.com/andreptb/Dockerfiles/blob/master/jboss-as/4.0.5.GA/jdk-6/Dockerfile)
- [`4.0.5.GA-jdk6-alpine` (*jboss-as/4.0.5.GA/jdk-6-alpine/Dockerfile*)](https://github.com/andreptb/Dockerfiles/blob/master/jboss-as/4.0.5.GA/jdk-6-alpine/Dockerfile)
Expand Down

0 comments on commit a314f7f

Please sign in to comment.