You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Heiko Cane <he...@gmail.com> on 2017/10/20 18:18:37 UTC

Running OFBiz in docker?

Hi,

I'currently trying to run our OFBiz in docker but I can't find a way to
create a .war or .jar file to deploy it in a simple tomcat or java
container. Seems I have to checkout the sources in my docker container, run
the gradle build and then start OFBiz.

Is there a way to get a .war or a .jar file containing alle the
dependencies for running it in a container?


Thanks for helping me!

Heiko

Re: Running OFBiz in docker?

Posted by Michael Brohl <mi...@ecomify.de>.
Hi Heiko,

it is not possible to deploy OFBiz as a self-contained WAR OOTB. We have 
dropped support for this long time ago.

OFBiz already contains an embedded Tomcat which will be started when you 
start OFBiz. There should be no problem to start it in Docker also.

Best regards,

Michael Brohl
ecomify GmbH
www.ecomify.de


Am 20.10.17 um 20:18 schrieb Heiko Cane:
> Hi,
>
> I'currently trying to run our OFBiz in docker but I can't find a way to
> create a .war or .jar file to deploy it in a simple tomcat or java
> container. Seems I have to checkout the sources in my docker container, run
> the gradle build and then start OFBiz.
>
> Is there a way to get a .war or a .jar file containing alle the
> dependencies for running it in a container?
>
>
> Thanks for helping me!
>
> Heiko
>



Re: Running OFBiz in docker?

Posted by Taher Alkhateeb <sl...@gmail.com>.
It's not hard, you can roll something out within 10 minutes. If you want
the latest JDK then you might consider rolling your own image.

On Oct 22, 2017 7:17 PM, "Heiko Cane" <he...@gmail.com> wrote:

> Thanks for your reply. I will try to build my own docker file (without
> tomcat).
>
> It seems that airdock/oracle-jdk is not up-to-date. The latest version of
> this images contains jdk-8u112.
> Maybe I'll try the latest openjdk docker image.
>
> Are you already running OFBiz in docker?
>
> 2017-10-20 20:43 GMT+02:00 Taher Alkhateeb <sl...@gmail.com>:
>
> > Create your own Dockerfile, you can't use a tomcat container. I
> > recommend airdock/oracle-jdk as your starting docker image
> >
> > On Fri, Oct 20, 2017 at 9:18 PM, Heiko Cane <he...@gmail.com>
> wrote:
> > > Hi,
> > >
> > > I'currently trying to run our OFBiz in docker but I can't find a way to
> > > create a .war or .jar file to deploy it in a simple tomcat or java
> > > container. Seems I have to checkout the sources in my docker container,
> > run
> > > the gradle build and then start OFBiz.
> > >
> > > Is there a way to get a .war or a .jar file containing alle the
> > > dependencies for running it in a container?
> > >
> > >
> > > Thanks for helping me!
> > >
> > > Heiko
> >
>

Re: Running OFBiz in docker?

Posted by Heiko Cane <he...@gmail.com>.
Thanks for your reply. I will try to build my own docker file (without
tomcat).

It seems that airdock/oracle-jdk is not up-to-date. The latest version of
this images contains jdk-8u112.
Maybe I'll try the latest openjdk docker image.

Are you already running OFBiz in docker?

2017-10-20 20:43 GMT+02:00 Taher Alkhateeb <sl...@gmail.com>:

> Create your own Dockerfile, you can't use a tomcat container. I
> recommend airdock/oracle-jdk as your starting docker image
>
> On Fri, Oct 20, 2017 at 9:18 PM, Heiko Cane <he...@gmail.com> wrote:
> > Hi,
> >
> > I'currently trying to run our OFBiz in docker but I can't find a way to
> > create a .war or .jar file to deploy it in a simple tomcat or java
> > container. Seems I have to checkout the sources in my docker container,
> run
> > the gradle build and then start OFBiz.
> >
> > Is there a way to get a .war or a .jar file containing alle the
> > dependencies for running it in a container?
> >
> >
> > Thanks for helping me!
> >
> > Heiko
>

Re: Running OFBiz in docker?

Posted by Taher Alkhateeb <sl...@gmail.com>.
Create your own Dockerfile, you can't use a tomcat container. I
recommend airdock/oracle-jdk as your starting docker image

On Fri, Oct 20, 2017 at 9:18 PM, Heiko Cane <he...@gmail.com> wrote:
> Hi,
>
> I'currently trying to run our OFBiz in docker but I can't find a way to
> create a .war or .jar file to deploy it in a simple tomcat or java
> container. Seems I have to checkout the sources in my docker container, run
> the gradle build and then start OFBiz.
>
> Is there a way to get a .war or a .jar file containing alle the
> dependencies for running it in a container?
>
>
> Thanks for helping me!
>
> Heiko