CentOS-6.6 based Jboss 7.1.1-14 Container - 604.7 MB
1.5K
Modifications from darkside/centos65 Installation Base:
############################################################
# Dockerfile to build the default eros Jboss server
# Based on darkside/centos66
############################################################
# Set the base image to Centos 6.6 Base
FROM darkside/centos66
# File Author / Maintainer
MAINTAINER Rich Nason [email protected]
#*************************
#* Versions *
#*************************
#**********************************
#* Override Enabled ENV Variables *
#**********************************
#**************************
#* Add Required Files *
#**************************
ADD jboss-7.1.1-14.el5.x86_64.rpm /tmp/
#*************************
#* Update and Pre-Reqs *
#*************************
RUN yum clean all && \
yum -y update && \
yum -y install java-1.7.0-openjdk.x86_64 java-1.7.0-openjdk-devel.x86_64 && \
export JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64 && \
rm -fr /var/cache/*
#*************************
#* Application Install *
#*************************
RUN groupadd eros && groupmod -g 10003 eros && \
useradd -r jboss -u 600 -d /usr/local/jboss -s /bin/bash && usermod -g eros jboss && \
rpm -ivh /tmp/jboss-7.1.1-14.el5.x86_64.rpm && \
rm -fr /tmp/*
#************************
#* Post Deploy Clean Up *
#************************
#**************************
#* Config Startup Items *
#**************************
RUN echo "export JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64" >> ~/.bashrc
#****************************
#* Expose Applicatoin Ports *
#****************************
# Expose ports to other containers only
Flatten
docker export c30e102f7c51 | docker import - darkside/jboss71
Content type
Image
Digest
sha256:861db3be9…
Size
280 MB
Last updated
almost 11 years ago
docker pull darkside/jboss71