We have one of our Java projects with Tomcat 7.0.55
dependency, I have no liberty to upgrade this.
I want to run this in a container. But when I run, I get Apache Tomcat 7.0.55 not found
in the browser.
In the official tomcat docker hub, I couldn't find this version, is it not supported? Do I have to create that image from scratch? If so, please point me to a good tutorial.
Here is my sample Dockerfile
FROM openjdk:7-jdk
COPY . /app
WORKDIR /app
RUN javac ... # compilation step
EXPOSE 8088
FROM tomcat:8.0 # I Have tried 7.0.92-jre7 as well
WORKDIR /app
COPY --from=0 /app .
CMD java ... # run the project
Any help is appreciated.
Thanks!