Running OFBiz in docker?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Running OFBiz in docker?

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
Reply | Threaded
Open this post in threaded view
|

Re: Running OFBiz in docker?

Michael Brohl-3
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
>


smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Running OFBiz in docker?

taher
In reply to this post by Heiko Cane
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 <[hidden email]> 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
Reply | Threaded
Open this post in threaded view
|

Re: Running OFBiz in docker?

Heiko Cane
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 <[hidden email]>:

> 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 <[hidden email]> 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
>
Reply | Threaded
Open this post in threaded view
|

Re: Running OFBiz in docker?

taher
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" <[hidden email]> 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 <[hidden email]>:
>
> > 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 <[hidden email]>
> 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
> >
>