forked from andrealbinop/Dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added alpine image for jboss 4.2.3.GA-jdk6
- Loading branch information
1 parent
2fe28c1
commit a314f7f
Showing
3 changed files
with
25 additions
and
1 deletion.
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,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"] |
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 @@ | ||
../../README.md |
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