Skip to content

Commit

Permalink
98 to 99 in Dockerfile version
Browse files Browse the repository at this point in the history
  • Loading branch information
vilasvarghese committed Mar 23, 2024
1 parent 732878a commit 9d7a0d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ FROM ubuntu:latest
RUN apt-get -y update && apt-get -y upgrade
RUN apt-get -y install openjdk-8-jdk wget
RUN mkdir /usr/local/tomcat
RUN wget https://downloads.apache.org/tomcat/tomcat-8/v8.5.98/bin/apache-tomcat-8.5.98.tar.gz -O /tmp/tomcat.tar.gz
RUN wget https://downloads.apache.org/tomcat/tomcat-8/v8.5.99/bin/apache-tomcat-8.5.99.tar.gz -O /tmp/tomcat.tar.gz
RUN cd /tmp && tar xvfz tomcat.tar.gz
RUN cp -Rv /tmp/apache-tomcat-8.5.98/* /usr/local/tomcat/
RUN cp -Rv /tmp/apache-tomcat-8.5.99/* /usr/local/tomcat/
COPY target/HelloWorld-0.0.1-SNAPSHOT.war /usr/local/tomcat/webapps/
EXPOSE 8080
CMD /usr/local/tomcat/bin/catalina.sh run
CMD /usr/local/tomcat/bin/catalina.sh run

0 comments on commit 9d7a0d6

Please sign in to comment.