'confusion in choosing tomcat docker image for cloud run

hey I am new to docker and I want to deploy my tomcat application on cloud run , so I need to choose an image which is slim and my second question is do I need to install Java or jdk with it if I choose tomcat:9-slim



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source