By the way, I’ve raised bug 34088 to fix the slowness of the database upgrade checks. I’ve got a workable patch there, and I’ll look at polishing it up when I have a bit more free time.
With the database upgrade check time fixed, I think we could do an “check_for_updates.sh” script in the Docker container entry point script.
David Cook
Senior Software Engineer
Prosentient Systems
Suite 7.03
6a Glen St
Milsons Point NSW 2061
Australia
Office: 02 9212 0899
Online: 02 8005 0595
From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of David Cook
Sent: Thursday, June 22, 2023 10:09 AM
To: koha-devel@lists.koha-community.org
Subject: Re: [Koha-devel] Dockerized Koha
Personally, I don’t need it at the moment, although I briefly thought I might for one library.
Sometimes I wonder about design…
i. The solution there might be to make a new script for performing upgrades, and for backwards compatibility it would still be called by the DEB post-install hooks, and the Docker entrypoint.sh could call it at startup time.
i. I don’t think you could mount /etc/koha because a lot of those files are generated by the koha-common package at install time, so you’d want to pick them up from the Docker image.
Anything else I’ve missed?
David Cook
Senior Software Engineer
Prosentient Systems
Suite 7.03
6a Glen St
Milsons Point NSW 2061
Australia
Office: 02 9212 0899
Online: 02 8005 0595
From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of Tomas Cohen Arazi
Sent: Thursday, June 22, 2023 3:48 AM
To: koha-devel@lists.koha-community.org
Subject: Re: [Koha-devel] Dockerized Koha
Hi all. We actually *have* a Docker image building pipeline [1]. If someone wants to join the effort of publishing an official docker image, please put it in the Roadmap wiki. That reminds me I didn't send the email about the roadmap last week. Doing it right now.
Best regards.
El mié, 21 jun 2023 a las 4:12, Thomas Klausner (<domm@plix.at>) escribió:
Hi!
On Wed, Jun 21, 2023 at 11:05:56AM +1000, David Cook wrote:
> Do we have any appetite for starting to create a production-ready Dockerized
> Koha?
++
And while I have a lot of experience with deploying Perl apps using
containers like Docker or Podman, I did not manage to get a (usable)
Dockerfile / docker-compose for Koha running (in a reasonable amount of
time; and then discovered koha-testing-docker for localdev..)
But I could definitely again try to spend some time on this!
Greetings,
domm
--
#!/usr/bin/perl https://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/
--
Tomás Cohen Arazi
Theke Solutions (https://theke.io)
✆ +54 9351 3513384
GPG: B2F3C15F