<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Exactly! I would love to see a task queue based record importer. (I keep thinking about a Koha plugin to provide a web ui for scheduling OAI-PMH harvesting, and then third-party applications that can consume from the task queue, stage the records… probably via the REST API… and then enqueue tasks to a high performance record importer worker…)<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Are you going to the Hackfest in Marseille? (I wanted to go this year but life is just too hectic this year, although planning to go to Kohacon in October.) A task queue could be a great Hackfest project…<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>David Cook<o:p></o:p></p><p class=MsoNormal>Systems Librarian<o:p></o:p></p><p class=MsoNormal>Prosentient Systems<o:p></o:p></p><p class=MsoNormal>72/330 Wattle St<o:p></o:p></p><p class=MsoNormal>Ultimo, NSW 2007<o:p></o:p></p><p class=MsoNormal>Australia<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Office: 02 9212 0899<o:p></o:p></p><p class=MsoNormal>Direct: 02 8005 0595<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> Kyle Hall <kyle.m.hall@gmail.com> <br><b>Sent:</b> Thursday, 20 February 2020 12:04 AM<br><b>To:</b> David Cook <dcook@prosentient.com.au><br><b>Cc:</b> Julian Maurice <julian.maurice@biblibre.com>; koha-devel <koha-devel@lists.koha-community.org><br><b>Subject:</b> Re: [Koha-devel] Minimal docker images for Koha<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Agreed! I think a task queue would be a huge benefit to Koha, we have so many long running batch operations.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Kyle<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><div><div><div><div><div><div><div><div><p class=MsoNormal><span style='font-size:12.0pt'>---<o:p></o:p></span></p></div></div><div><p class=MsoNormal><a href="http://www.kylehall.info" target="_blank">http://www.kylehall.info</a><br>ByWater Solutions ( <a href="http://bywatersolutions.com" target="_blank">http://bywatersolutions.com</a> )<br>Meadville Public Library ( <a href="http://www.meadvillelibrary.org" target="_blank">http://www.meadvillelibrary.org</a> )<br>Crawford County Federated Library System ( <a href="http://www.ccfls.org" target="_blank">http://www.ccfls.org</a> )<o:p></o:p></p></div></div></div></div></div></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Tue, Feb 18, 2020 at 7:21 PM <<a href="mailto:dcook@prosentient.com.au">dcook@prosentient.com.au</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><p class=MsoNormal style='margin-bottom:12.0pt'>Funny I was just looking at <a href="https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15032" target="_blank">https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15032</a>. <br><br>One of these days we should push forward more on queues: <a href="https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22417" target="_blank">https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22417</a>. <br><br>David Cook<br>Systems Librarian<br>Prosentient Systems<br>72/330 Wattle St<br>Ultimo, NSW 2007<br>Australia<br><br>Office: 02 9212 0899<br>Direct: 02 8005 0595<br><br>-----Original Message-----<br>From: Koha-devel <<a href="mailto:koha-devel-bounces@lists.koha-community.org" target="_blank">koha-devel-bounces@lists.koha-community.org</a>> On Behalf Of Julian Maurice<br>Sent: Tuesday, 18 February 2020 11:11 PM<br>To: Kyle Hall <<a href="mailto:kyle.m.hall@gmail.com" target="_blank">kyle.m.hall@gmail.com</a>><br>Cc: koha-devel <<a href="mailto:koha-devel@lists.koha-community.org" target="_blank">koha-devel@lists.koha-community.org</a>><br>Subject: Re: [Koha-devel] Minimal docker images for Koha<br><br>Are you talking about these files<br><a href="https://github.com/Koha-Community/Koha/blob/master/debian/templates/apache-shared-intranet-plack.conf#L14-L21" target="_blank">https://github.com/Koha-Community/Koha/blob/master/debian/templates/apache-shared-intranet-plack.conf#L14-L21</a><br>?<br><br>I did nothing specific, so they are probably broken :)<br><br>Le 18/02/2020 à 12:45, Kyle Hall a écrit :<br>> One other question, how does this handle scripts that Koha <br>> specifically does not execute using plack?<br>> <br>> Kyle<br>> <br>> ---<br>> <a href="http://www.kylehall.info" target="_blank">http://www.kylehall.info</a><br>> ByWater Solutions ( <a href="http://bywatersolutions.com" target="_blank">http://bywatersolutions.com</a> ) Meadville Public <br>> Library ( <a href="http://www.meadvillelibrary.org" target="_blank">http://www.meadvillelibrary.org</a> ) Crawford County Federated <br>> Library System ( <a href="http://www.ccfls.org" target="_blank">http://www.ccfls.org</a> )<br>> <br>> <br>> On Tue, Feb 18, 2020 at 6:43 AM Kyle Hall <<a href="mailto:kyle.m.hall@gmail.com" target="_blank">kyle.m.hall@gmail.com</a> <br>> <mailto:<a href="mailto:kyle.m.hall@gmail.com" target="_blank">kyle.m.hall@gmail.com</a>>> wrote:<br>> <br>>     This is fantastic Julian! The only thing I can contribute that<br>>     hasn't already been said by you or David is to suggest taking a look<br>>     at MiniDeb as a base image ( <a href="https://github.com/bitnami/minideb" target="_blank">https://github.com/bitnami/minideb</a> ). I<br>>     would also suggest using <a href="http://quay.io" target="_blank">quay.io</a> <<a href="http://quay.io" target="_blank">http://quay.io</a>> to build and host<br>>     your Docker images, as it has built in security scanning. I prefer<br>>     minimal install images not for size reduction ( though it is nice ),<br>>     but for the smaller attack surface they provide. Fewer things<br>>     installed means fewer exploits available!<br>> <br>>     Kyle<br>> <br>>     ---<br>>     <a href="http://www.kylehall.info" target="_blank">http://www.kylehall.info</a><br>>     ByWater Solutions ( <a href="http://bywatersolutions.com" target="_blank">http://bywatersolutions.com</a> )<br>>     Meadville Public Library ( <a href="http://www.meadvillelibrary.org" target="_blank">http://www.meadvillelibrary.org</a> )<br>>     Crawford County Federated Library System ( <a href="http://www.ccfls.org" target="_blank">http://www.ccfls.org</a> )<br>> <br>> <br>>     On Mon, Feb 17, 2020 at 12:59 PM Julian Maurice<br>>     <<a href="mailto:julian.maurice@biblibre.com" target="_blank">julian.maurice@biblibre.com</a> <mailto:<a href="mailto:julian.maurice@biblibre.com" target="_blank">julian.maurice@biblibre.com</a>>><br>>     wrote:<br>> <br>>         Hi all,<br>> <br>>         I've been playing with docker lately, and I tried to build a<br>>         minimal<br>>         docker image for Koha. Here are the results.<br>> <br>>         My goals were:<br>>         * Install only required "things" to get Koha up and running, and<br>>         nothing<br>>         else (no testing or dev tools),<br>>         * No external dependencies except CPAN<br>>         * Follow Docker best practices as much as possible<br>> <br>>         The resulting images are here:<br>>         <a href="https://hub.docker.com/repository/docker/julianmaurice/koha" target="_blank">https://hub.docker.com/repository/docker/julianmaurice/koha</a><br>> <br>>         and the Dockerfiles are here:<br>>         <a href="https://github.com/jajm/koha-docker" target="_blank">https://github.com/jajm/koha-docker</a><br>> <br>>         A few things worth mentioning:<br>> <br>>         * I tried to build the smallest image possible by using alpine<br>>         or perl<br>>         slim images at first but it was not that great, because the perl<br>>         version<br>>         shipped with those images is missing some libs, which cause<br>>         MARC::Charset to build a database of several hundreds MBs (which<br>>         is only<br>>         5MBs with a standard perl version). So I chose a more standard<br>>         image<br>>         (debian:buster) as base.<br>> <br>>         * Koha doesn't work well when running with a perl version<br>>         different than<br>>         the system perl installed in /usr/bin/perl. For example, the<br>>         updatedatabase doesn't work when called from the web installer.<br>>         This is<br>>         because Perl scripts are called directly as executable files, and<br>>         shebangs contain '/usr/bin/perl'. Same problem from<br>>         misc/translator/translate which calls <a href="http://tmpl_process3.pl" target="_blank">tmpl_process3.pl</a><br>>         <<a href="http://tmpl_process3.pl" target="_blank">http://tmpl_process3.pl</a>>.<br>> <br>>         * I tried to make the Koha installation as self-contained as<br>>         possible.<br>>         Almost everything is installed as a non-root user in /home/koha,<br>>         including Perl dependencies.<br>> <br>>         * It doesn't need a reverse proxy such as apache or nginx. The<br>>         necessary<br>>         URL rewriting is handled in PSGI file. The container expose two<br>>         ports,<br>>         one for intranet, the other one for OPAC.<br>> <br>>         * Each Perl dependency is installed in its latest version, so<br>>         expect<br>>         things to break. I can only confirm that the webinstaller, basic<br>>         cataloguing and search/indexation work. I did not test anything<br>>         else.<br>> <br>>         * There are docker-compose.yml files in the github repository to<br>>         get<br>>         Koha running quickly with mariadb, memcached and elasticsearch.<br>> <br>>         * Zebra is not installed<br>> <br>>         * Images weigh ~1.15GB uncompressed (koha sources included)<br>> <br>>         If you made it this far, thanks for reading :)<br>>         And if you want to use these docker images, you should start by<br>>         reading<br>>         <a href="https://github.com/jajm/koha-docker/blob/master/README.md" target="_blank">https://github.com/jajm/koha-docker/blob/master/README.md</a><br>> <br>>         -- <br>>         Julian Maurice<br>>         BibLibre<br>>         _______________________________________________<br>>         Koha-devel mailing list<br>>         <a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-community.org</a><br>>         <mailto:<a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-community.org</a>><br>>         <a href="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>>         website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a><br>>         git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a><br>>         bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><br>> <br><br>--<br>Julian Maurice<br>BibLibre<br>_______________________________________________<br>Koha-devel mailing list<br><a href="mailto:Koha-devel@lists.koha-community.org" target="_blank">Koha-devel@lists.koha-community.org</a><br><a href="https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a> git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a> bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><o:p></o:p></p></blockquote></div></div></body></html>