I can not use default copy of tomcat because I have some depended jar file which I have to put in tomcat lib folder.
What image can I use in order to have the right dependencies into Tomcat lib?
Simply make your own Dockerfile (FROM
the official tomcat image, like the 8.5 one for instance) which will copy that dependent jar into tomcat lib folder:
FROM tomcat:8.5
EXPOSE 8080
COPY your/dependent/jar /path/to/tomcat/lib
# For instance
COPY your/dependent/jar /usr/share/tomcat8/lib
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments