How to dockerize web application with GRADLE JIB

29 views
Skip to first unread message

Manoj Suryawanshi

unread,
Nov 28, 2022, 11:59:14 PM11/28/22
to Jib users
Hi,

I am able to create the image which have the tomcat container. But the web application war file is not there in the container.

Please suggest any help or point out to any example for web application where we deploy the war file using GRADLE JIB as part of tomcat container.

Thanks and Regard's

Manoj Suryawanshi

Brian de Alwis

unread,
Nov 29, 2022, 9:29:15 AM11/29/22
to Manoj Suryawanshi, Jib users
Hi Manoj.

Jib doesn't write out the .war file into the image but rather extracts the contents to disk in a way that is directly consumed by the server.  Extracting the war, sometimes called "exploding", is the first step performed by a web server.  So having the .war already extracted saves startup time and reduces disk pressure.

Brian.

--
You received this message because you are subscribed to the Google Groups "Jib users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jib-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jib-users/84d6f148-e114-4bee-873f-fe586faea802n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages