You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by ka...@gmail.com on 2015/12/01 21:21:39 UTC
Clean way to modify tomee using docker build?
Hey
I use tomee maven plugin today and I do some upgrades in lib (myfaces).
Anyone else who modifies tomee this way but based on docker instead?
Just getting started with docker btw.
Cheers
Re: Clean way to modify tomee using docker build?
Posted by hwaastad <he...@waastad.org>.
Hi,
there are several tomcat Dockerfiles on github which you pratically can
reuse, just changing the downloadurl to tomee and adding a custom startup
script.
By using a startupscript which handles env vars you can easily change params
as memory, threads, datasources and what have you, you can make an image
which is built for all wars :-)
br hw
--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Clean-way-to-modify-tomee-using-docker-build-tp4677074p4677088.html
Sent from the TomEE Users mailing list archive at Nabble.com.
Re: Clean way to modify tomee using docker build?
Posted by Christoph Nenning <Ch...@lex-com.net>.
> Hey
>
> I use tomee maven plugin today and I do some upgrades in lib (myfaces).
>
> Anyone else who modifies tomee this way but based on docker instead?
>
> Just getting started with docker btw.
>
> Cheers
I would use a simple Dockerfile like this:
FROM tomee:8-jre-1.7.2-plus
ADD myfaces...jar /usr/local/tomee/lib
ADD your.war /usr/local/tomee/webapps
This will download a prebuilt tomee image from docker hub and add your
files in a new image layer. It means you have to commit myfaces jars along
with the Dockerfile to version control.
Regards,
Christoph
This Email was scanned by Sophos Anti Virus
Re: Clean way to modify tomee using docker build?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi Karl,
deploy the tomee zip on a http server and wget the zip in docker recipe
then unzip and you are ready :)
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>
2015-12-01 21:21 GMT+01:00 <ka...@gmail.com>:
> Hey
>
> I use tomee maven plugin today and I do some upgrades in lib (myfaces).
>
> Anyone else who modifies tomee this way but based on docker instead?
>
> Just getting started with docker btw.
>
> Cheers
>