Public Repository

Last pushed: 2 years ago
Short Description
user/pass default :admin/adminadmin
Full Description

FROM vitrinh/java:oracle-java6

MAINTAINER Vitrinh "quangvi282@gmail.com"

RUN apt-get update && \
apt-get install -y curl inotify-tools expect && \
apt-get clean && \
rm -rf /var/apt/lists/*

#RUN curl -L -o /tmp/glassfish2.jar http://download.java.net/javaee5/v2.1.1_branch/promoted/Linux/glassfish-installer-v2.1.1-b31g-linux.jar && \

#java -Xmx256m -jar /tmp/glassfish2.jar && \

#copy directory glassfish after extract from link download
ADD glassfish /data

RUN chmod -R +x lib/ant/bin

RUN lib/ant/bin/ant -f setup.xml

EXPOSE 4848 8080 8181
CMD ["bin/asadmin", "start-domain", "-v"]

Docker Pull Command
Owner
vitrinh