I have a FreeBSD 10.1 machine. I want to install tomcat8 and openjdk8 in a jail. This jail will only be used for few web application, and I do not want to install the ports collection, nor the full pkg management tool in it. For another jail, I could install all required packages from the host with :
pkg -j jail_name install package_name
The problem is that the precompiled package for tomcat8 has a dependency on openjdk7 when one of my apps needs a jdk8.
I know it could be done by installing the port collection in the jail, opening firewalls to allow connections from the jail to the whole world, installing everything from ports and then reconfiguring everything and removing ports collection. But I'd rather not do all that !
So, how can I install tomcat8 over openjdk8 in a jail without installing the ports collection and allowing connections from the jail to the outside world ?