[Koha-devel] Official Docker image

Tomas Cohen Arazi tomascohen at gmail.com
Sat May 12 22:47:00 CEST 2018


I hope you can check the updated README.md, David

Regards

El vie., 11 may. 2018 a las 14:48, Tomas Cohen Arazi (<tomascohen at gmail.com>)
escribió:

> Please file an issue, maybe someone with time to take care picks it?
>
>
> El jue., 10 may. 2018 a las 21:08, David Cook (<dcook at prosentient.com.au>)
> escribió:
>
>> Care to update the README.md? I would send a merge request, but I already
>> am running behind on a few things.
>>
>>
>>
>> David Cook
>>
>> Systems Librarian
>>
>> Prosentient Systems
>>
>> 72/330 Wattle St
>> <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>
>>
>> Ultimo, NSW
>> <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>
>> 2007
>>
>> Australia
>>
>>
>>
>> Office: 02 9212 0899
>>
>> Direct: 02 8005 0595
>>
>>
>>
>> *From:* Tomas Cohen Arazi [mailto:tomascohen at gmail.com]
>> *Sent:* Thursday, 10 May 2018 8:41 PM
>>
>>
>> *To:* David Cook <dcook at prosentient.com.au>
>> *Cc:* koha-devel <koha-devel at lists.koha-community.org>
>> *Subject:* Re: [Koha-devel] Official Docker image
>>
>>
>>
>> You need to docker-compose down between tries. Otherwise MySQL is not
>> refreshed and you might have inconsistent data on it.
>>
>> El jue., 10 de may. de 2018 3:33 a. m., David Cook <
>> dcook at prosentient.com.au> escribió:
>>
>> For anyone using Docker for Windows, one annoying thing to note is that
>> Docker for Windows requires HyperV to be activated, and that conflicts with
>> other virtualization software like Vmware (and I think Virtualbox although
>> I haven’t tried that I think).
>>
>>
>>
>> Enabling/disabling HyperV isn’t that hard but it does require a restart
>> which can be irritating if you’re in the middle of other work.
>>
>>
>>
>> Still… Docker seems neat.
>>
>>
>>
>> David Cook
>>
>> Systems Librarian
>>
>> Prosentient Systems
>>
>> 72/330 Wattle St
>> <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>
>>
>> Ultimo, NSW
>> <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>
>> 2007
>>
>> Australia
>>
>>
>>
>> Office: 02 9212 0899
>>
>> Direct: 02 8005 0595
>>
>>
>>
>> *From:* koha-devel-bounces at lists.koha-community.org [mailto:
>> koha-devel-bounces at lists.koha-community.org] *On Behalf Of *David Cook
>>
>>
>> *Sent:* Thursday, 10 May 2018 1:35 PM
>> *To:* 'Tomas Cohen Arazi' <tomascohen at gmail.com>
>>
>> *Cc:* 'koha-devel' <koha-devel at lists.koha-community.org>
>> *Subject:* Re: [Koha-devel] Official Docker image
>>
>>
>>
>> I was able to set SYNC_REPO using “$env:SYNC_REPO =
>> 'C:\Users\dcook\Git\koha'” in powershell…
>>
>>
>>
>> Retried “docker-compose build” and got the following:
>>
>>
>>
>> WARNING: The COVERAGE variable is not set. Defaulting to a blank string.
>>
>> WARNING: The RUN_TESTS_AND_EXIT variable is not set. Defaulting to a
>> blank string.
>>
>> WARNING: The LOCAL_USER_ID variable is not set. Defaulting to a blank
>> string.
>>
>> db uses an image, skipping
>>
>> es uses an image, skipping
>>
>> memcached uses an image, skipping
>>
>> selenium uses an image, skipping
>>
>> koha uses an image, skipping
>>
>>
>>
>> Decided to just try “docker-compose up” and it’s downloading images so
>> I’ll let you know how it goes…
>>
>>
>>
>> David Cook
>>
>> Systems Librarian
>>
>> Prosentient Systems
>>
>> 72/330 Wattle St
>> <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>
>>
>> Ultimo, NSW
>> <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>
>> 2007
>>
>> Australia
>>
>>
>>
>> Office: 02 9212 0899
>>
>> Direct: 02 8005 0595
>>
>>
>>
>> *From:* Tomas Cohen Arazi [mailto:tomascohen at gmail.com
>> <tomascohen at gmail.com>]
>> *Sent:* Thursday, 10 May 2018 12:15 PM
>> *To:* David Cook <dcook at prosentient.com.au>
>> *Cc:* koha-devel <koha-devel at lists.koha-community.org>
>> *Subject:* Re: [Koha-devel] Official Docker image
>>
>>
>>
>> Try docker-compose up. Not run. The readme is outdated!
>>
>> El mié., 9 de may. de 2018 10:45 p. m., David Cook <
>> dcook at prosentient.com.au> escribió:
>>
>> Hi Tomas,
>>
>>
>>
>> I’ve decided to try Docker for Windows, and to try out your
>> koha-testing-docker using that.
>>
>>
>>
>> I cloned the git repository from
>> https://gitlab.com/koha-community/koha-testing-docker and I’m reading
>> the README.md, but I stumble at “docker-compose build”. (Initially I didn’t
>> read the README.md and just tried ‘docker build’ and that looked OK at a
>> glance.)
>>
>>
>>
>> I see “Requirement: The SYNC_REPO variable needs to be defined and
>> contain the full path for a Koha's git repository clone”, but the error
>> messages I get are:
>>
>>
>>
>> WARNING: The SYNC_REPO variable is not set. Defaulting to a blank string.
>>
>> WARNING: The COVERAGE variable is not set. Defaulting to a blank string.
>>
>> WARNING: The RUN_TESTS_AND_EXIT variable is not set. Defaulting to a
>> blank string.
>>
>> WARNING: The LOCAL_USER_ID variable is not set. Defaulting to a blank
>> string.
>>
>> db uses an image, skipping
>>
>> es uses an image, skipping
>>
>> memcached uses an image, skipping
>>
>> selenium uses an image, skipping
>>
>> koha uses an image, skipping
>>
>>
>>
>> Is SYNC_REPO supposed to be a path to a
>> http://git.koha-community.org/koha.git directory?
>>
>>
>>
>> I’ll have to try that after lunch…
>>
>>
>>
>> David Cook
>>
>> Systems Librarian
>>
>> Prosentient Systems
>>
>> 72/330 Wattle St
>> <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>
>>
>> Ultimo, NSW
>> <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW&entry=gmail&source=g>
>> 2007
>>
>> Australia
>>
>>
>>
>> Office: 02 9212 0899
>>
>> Direct: 02 8005 0595
>>
>>
>>
>> *From:* koha-devel-bounces at lists.koha-community.org [mailto:
>> koha-devel-bounces at lists.koha-community.org] *On Behalf Of *Tomas Cohen
>> Arazi
>> *Sent:* Tuesday, 17 April 2018 11:30 PM
>> *To:* koha-devel <koha-devel at lists.koha-community.org>
>> *Subject:* [Koha-devel] Official Docker image
>>
>>
>>
>> Hi everyone, on the CI front, I have recently introduced (successfully)
>> the broad use of Docker images to run the full test suite. This project,
>> named koha-testing-docker [1], evolved into a usable development
>> environment too. Right now I'm trying to spend some time on porting
>> kohadevbox things into it.
>>
>>
>>
>> This Docker image is built and published automatically by our Jenkins
>> server, and then used in the three nodes we have to run the tests.
>>
>>
>>
>> We also have a Docker image for building koha-* packages wherever we need
>> to (yes, we want to automate this, and properly test the generated packages
>> using the CI infrastructure). [2]
>>
>>
>>
>> With this knowledge, and the infrastructure part of it solved, I would
>> like to start publishing an official Docker image of Koha. Once we have
>> this, the koha-testing-docker tools would be rebuilt on top of it.
>>
>>
>>
>> I raise the subject in light of recent discussions about supported OSs,
>> Perl versions and dependencies.
>>
>>
>>
>>
>>
>> [1] https://gitlab.com/koha-community/koha-testing-docker
>>
>> [2] https://gitlab.com/tomascohen/koha-dpkg-docker
>>
>>
>>
>> --
>>
>> Tomás Cohen Arazi
>>
>> Theke Solutions (https://theke.io <http://theke.io/>)
>> ✆ +54 9351 3513384 <+54%209%20351%20351-3384>
>> GPG: B2F3C15F
>>
>> --
>>
>> Tomás Cohen Arazi
>>
>> Theke Solutions (https://theke.io <http://theke.io/>)
>> ✆ +54 9351 3513384 <+54%209%20351%20351-3384>
>> GPG: B2F3C15F
>>
>> --
>>
>> Tomás Cohen Arazi
>>
>> Theke Solutions (https://theke.io <http://theke.io/>)
>> ✆ +54 9351 3513384 <+54%209%20351%20351-3384>
>> GPG: B2F3C15F
>>
> --
> Tomás Cohen Arazi
> Theke Solutions (https://theke.io <http://theke.io/>)
> ✆ +54 9351 3513384 <+54%209%20351%20351-3384>
> GPG: B2F3C15F
>
-- 
Tomás Cohen Arazi
Theke Solutions (https://theke.io <http://theke.io/>)
✆ +54 9351 3513384
GPG: B2F3C15F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20180512/d2eab637/attachment-0001.html>


More information about the Koha-devel mailing list