<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">
<div>Hi Hadrien<br>
<br>
</div>
Thanks for your continued interest in this. We're still very much at the investigative stage regarding how we're going to use Docker, and due to other priorities not much has changed since your last email. More answers in line...<br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 15 January 2015 at 11:08, Hadrien Mary <span dir="ltr">
<<a href="mailto:hadrien.mary@gmail.com" target="_blank">hadrien.mary@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi guys,<br>
<br>
I created a Dockerfile some weeks ago :<br>
<a href="https://github.com/hadim/docker-omero" target="_blank">https://github.com/hadim/docker-omero</a>. The main purpose was to both<br>
learn how to install OME and get some training with docker.<br>
<br>
I am planning to install an OME server for our lab and I am not<br>
satisfied with my Dockerfile since it's pretty limited and use only<br>
one instance for everything (no separated database instance).<br>
<br>
I noticed it exists two repositories which seem to be official and<br>
used there : <a href="https://github.com/ome/docker" target="_blank">https://github.com/ome/docker</a> and<br>
<a href="https://github.com/omedocker/omedocker" target="_blank">https://github.com/omedocker/omedocker</a>. I'd like to test these<br>
dockerfiles to see if it can fit for production in my case.<br>
<br>
My questions are:<br>
<br>
- for what purpose are you using docker (testing, production, ci...) ?<br>
</blockquote>
<div><br>
</div>
<div>Initially CI/testing, especially with different versions of dependencies and configurations, if this goes well then potentially production too.<br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
- what is the difference between both repos ?<br>
</blockquote>
<div><br>
omedocker was the original repo designed to work with Docker Hub (automated builds), from what I remember we couldn't use an organisation repo because Docker Hub wanted privileged access to our GitHub account instead of just a single repository (this may have
changed in the intervening time).<br>
<br>
</div>
<div>It was forked into ome/docker so that it would fit in to our normal workflow with multiple OME team members having commit access, and being able to open pull-requests.<br>
<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
- which one should I use ?<br>
</blockquote>
<div><br>
</div>
<div>Probably ome/docker which is effectively our development repo, once our infrastructure is fully setup the tentative plan is to push releases to omedocker to be automatically built by Docker Hub.<br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
- does a more complete documentation exist about how to use these<br>
dockerfiles (currently I am reading Makefile as a documentation) ?<br>
</blockquote>
<div><br>
</div>
<div>As I mentioned earlier everything is still very much at an exploratory stage. Once everything is stable it'll be fully documented. If you want to build everything in ome/docker you can run something like:<br>
<br>
for docker in $(python graph.py --order)<br>
do<br>
docker=$(echo $docker | cut -d: -f1)<br>
cd $docker<br>
failed=0<br>
docker build -t openmicroscopy/$docker<br>
cd ..<br>
done<br>
<br>
</div>
<div>graph.py outputs out the dependencies between images. Alternatively if you just want to build one image it should be easy to figure out the dependencies for yourself by checking the Dockerfile FROM lines.<br>
</div>
<div><br>
</div>
<div>There's a lot of stuff in the repo at the moment, some directly related to OMERO, others related to our infrastructure. E.g. omero-in-a-box is an all-in-one image, omero-grid was an early attempt at setting up different OMERO components on separate images.<br>
<br>
</div>
<div>If there's anything else you need to know just ask!<br>
<br>
Best wishes<br>
<br>
Simon<br>
</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Thanks !<br>
<br>
--<br>
Hadrien Mary<br>
<br>
Ph.D student in Biology<br>
Tournier-Gachet Team<br>
CNRS - LBCMCP - UMR 5088<br>
<br>
Université de Toulouse - Bât. 4R3B1<br>
118, route de Narbonne - 31062 Toulouse<br>
_______________________________________________<br>
ome-devel mailing list<br>
<a href="mailto:ome-devel@lists.openmicroscopy.org.uk">ome-devel@lists.openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel</a><br>
<br>
The University of Dundee is a registered Scottish Charity, No: SC015096<br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>