Le Tue, 18 Feb 2020 17:29:42 +1100, <dcook@prosentient.com.au> a écrit :
I was actually wondering earlier how many packaged dependencies Koha really has. Off the top of my head, I think the main ones are Apache httpd, Zebra/YAZ, and Mysql client libraries. It looks like "unzip" is needed as well. A number of the other dependencies like xmlstarlet, tinymce, libjs-jquery, mysql, etc are just for the Debian packages. (Actually, I think there is a mysql client binary use in one of the unit tests which seems suboptimal.) Oh, and due to your use of that static file middleware, Apache httpd isn't even needed. A person could probably run the Zebra server in a different container, share a mounted volume for the data, and then just have Zebra/yaz client software in the Koha container. Or if you went the Elasticsearch route, you wouldn't need Zebra at all, right? So in theory you could maybe get away just with "unzip" as a dependency that needs installing via a package manager? (Technically, we could use pure Perl unzip modules as well...)
What is unzip needed for ? I didn't think of volumes for Zebra. That's a great idea. I might try that later.