<div dir="ltr"><div>I hadn't tried it, as I was on my phone responding to your initial email. The Docker hub has the direct ability to build things easily off of a linked repository. I just went through setting that up last week for an image I'm using to test stuff at work. So getting automated builds without needing to set things up too much should be pretty straightforward.<br><br></div><div>Probably the easiest way for you to base it would be to create a first image that has Sword built, and so it will already have all those components that you're currently copying in. Then base the SWORDWeb image off of the Sword image, giving it access already to the parts that you're building and copying in, currently. In this regard, Docker is akin to a git repository, allowing you to then create a plethora of images based off the Sword image and not needing to store the data for the Sword library more than once.<br><br></div><div>Mainly I ask about the automated build process because - like in much of the open source world - people want to see the source of the Dockerfiles that are producing the build and, if they can see the build logs, they're often even happier to trust what they're getting.<br><br></div><div>--Greg<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 4, 2017 at 8:03 PM, Troy A. Griffitts <span dir="ltr"><<a href="mailto:scribe@crosswire.org" target="_blank">scribe@crosswire.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>We're not building with automation yet. This is just a first attempt to make it work. The Dockerfile is committed in the swordweb repo but there are files that need to be built from SWORD (swordorbserver) and copied to the docker-template folder in swordweb before the Dockerfile can be used. This is certainly not ready (easy) for others to rebuild. Others can easily base a new container off of mine and apply updates, but automatically building this container is not supported by me right now.<br>
Did ya try it?<div><div class="h5"><br><br><div class="gmail_quote">On March 4, 2017 6:34:56 PM MST, Greg Hellings <<a href="mailto:greg.hellings@gmail.com" target="_blank">greg.hellings@gmail.com</a>> wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="auto">Where is the repository with the Dockerfile? What triggers updates and rebuilds of the container?</div><div class="gmail_extra"><br><div class="gmail_quote">On Mar 4, 2017 7:05 PM, "Troy A. Griffitts" <<a href="mailto:scribe@crosswire.org" target="_blank">scribe@crosswire.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>I've compiled a docker image for SWORDWeb if anyone is interested
in trying it out. If you have docker installed (should work on
mac, windows, and linux), and you'd like to, e.g., expose your
SWORD modules installed in /home/me/.sword on port 8888 you can
try with a command like this:</p>
<p>
<span style="color:rgb(51,51,51);font-family:Consolas,"Liberation Mono",Courier,monospace;font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(248,248,248);display:inline!important;float:none">docker run --name SWORDWeb -e
LOGLEVEL=DEBUG -e DEFAULTBIBLE=KJV -d -v
/home/me/.sword:/usr/share/swo<wbr>rd -p 8888:8080 crosswire/swordweb</span></p>
<p><span style="color:rgb(51,51,51);font-family:Consolas,"Liberation Mono",Courier,monospace;font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(248,248,248);display:inline!important;float:none">Then you should be able to hit
<a class="m_-7546305795028674464m_-8625023857380182723moz-txt-link-freetext" href="http://localhost:8888" target="_blank">http://localhost:8888</a> with your browser. If you don't supply
the -v parameter to mount your sword modules, the container
comes with KJV, StrongsGreek, and StrongsHebrew installed.</span></p>
<p><span style="color:rgb(51,51,51);font-family:Consolas,"Liberation Mono",Courier,monospace;font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(248,248,248);display:inline!important;float:none">Hope it's useful (or at least fun). I
have it running on our server at:</span></p>
<p><span style="color:rgb(51,51,51);font-family:Consolas,"Liberation Mono",Courier,monospace;font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(248,248,248);display:inline!important;float:none"><a class="m_-7546305795028674464m_-8625023857380182723moz-txt-link-freetext" href="http://study.crosswire.org" target="_blank">http://study.crosswire.org</a></span></p>
<p><span style="color:rgb(51,51,51);font-family:Consolas,"Liberation Mono",Courier,monospace;font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(248,248,248);display:inline!important;float:none">Blessings,</span></p>
<p><span style="color:rgb(51,51,51);font-family:Consolas,"Liberation Mono",Courier,monospace;font-size:16px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(248,248,248);display:inline!important;float:none">Troy<br>
</span></p>
</div>
<br>______________________________<wbr>_________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank">http://www.crosswire.org/mailm<wbr>an/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br></blockquote></div></div>
</blockquote></div><br></div></div><span class="HOEnZb"><font color="#888888">
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</font></span></div></blockquote></div><br></div>