Skip to content

Commit

Permalink
Update Dockerfile_Tomcat_CentOs
Browse files Browse the repository at this point in the history
  • Loading branch information
devopstrainingbanglore authored Aug 28, 2019
1 parent 0025048 commit b8271de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile_Tomcat_CentOs
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ MAINTAINER [email protected]
RUN mkdir /opt/tomcat/

WORKDIR /opt/tomcat
#RUN curl -O http://apachemirror.wuchna.com/tomcat/tomcat-8/v8.5.43/bin/apache-tomcat-8.5.43.tar.gz
ADD http://apachemirror.wuchna.com/tomcat/tomcat-8/v8.5.43/bin/apache-tomcat-8.5.43.tar.gz .
#RUN curl -O http://mirrors.estointernet.in/apache/tomcat/tomcat-8/v8.5.45/bin/apache-tomcat-8.5.45.tar.gz
ADD http://mirrors.estointernet.in/apache/tomcat/tomcat-8/v8.5.45/bin/apache-tomcat-8.5.45.tar.gz .
RUN tar xvfz apache*.tar.gz
RUN mv apache-tomcat-8.5.43/* /opt/tomcat/.
RUN mv apache-tomcat-8.5.45/* /opt/tomcat/.
RUN yum -y install java
RUN java -version

WORKDIR /opt/tomcat/webapps

EXPOSE 8080

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

0 comments on commit b8271de

Please sign in to comment.