Public Repository

Last pushed: 4 months ago
Short Description
Short description is empty for this repo.
Full Description

Install tomcat on gksm/oel7_jdk1.8

FROM gksm/oel7_jdk1.8:latest

MAINTAINER Evgenii.Poliakov@gmail.com
WORKDIR /opt

RUN curl http://apache-mirror.rbc.ru/pub/apache/tomcat/tomcat-7/v7.0.72/bin/apache-tomcat-7.0.72.tar.gz -o /opt/apache-tomcat-7.0.72.tar.gz && \
tar -xvf apache-tomcat-7.0.72.tar.gz -C /opt && \
mv /opt/apache-tomcat-7.0.72 /opt/tomcat && \
rm -rf /opt/apache-tomcat-7.0.72.tar.gz && \
rm -rf /opt/tomcat/webapps/docs && \
rm -rf /opt/tomcat/webapps/examples && \
rm -rf /opt/tomcat/webapps/examples/ROOT

COPY run.sh /opt/tomcat/bin/run.sh
COPY tomcat-users.xml /opt/tomcat/conf/tomcat-users.xml
COPY server.xml /opt/tomcat/conf/server.xml
ENV CATALINA_HOME=/opt/tomcat
ENV CATALINA_OUT=/opt/tomcat/logs/catalina.out

ENV DEFAULT_REGEXP="Dcatalina.home=/opt/tomcat"
ENV DEFAUIL_DST_DIR=/media/data/diag
ENV DEFAULT_USER=root

CMD ["/opt/tomcat/bin/run.sh","start"]

Docker Pull Command
Owner
gksm

Comments (0)