One of the java application running in a docker container require java 1.8 but the container has java 1.7 . Right now it is failing with the error "Unsupported major.minor version 52.0"
The dockerfile content is
FROM tomcat:8.0
COPY webapps/abc /usr/local/tomcat/webapps/abc
COPY webapps/*.war /usr/local/tomcat/webapps/
#COPY ...........
COPY tomcat-users.xml /usr/local/tomcat/conf/
COPY server.xml /usr/local/tomcat/conf/
I tried to use another base image "FROM tomcat:8.5.51-jdk8-openjdk " but getting errors with xdx parser.
How can I install/upgrade to the java version 1.8 on that container. I am a DOTNET-Windows guy. One of the lab that our company acquired has this application. The original dev team is not available now. Any help in this regarded is much appreciated.