Thanks Mason! It looks like you were working from an out of date version of koha-dpkg-docker. Luckily I was working on a similar solution!

Kyle
---
http://www.kylehall.info
ByWater Solutions ( http://bywatersolutions.com )
Meadville Public Library ( http://www.meadvillelibrary.org )
Crawford County Federated Library System ( http://www.ccfls.org )


On Thu, Apr 27, 2023 at 9:14 AM Mason James <mtj@kohaaloha.com> wrote:
On 27/04/23 11:18 am, Tomas Cohen Arazi wrote:
> The original implementation installed yarn inside the pdebuilder image [1]. But THERE'S a yarn/nodejs BUG [2] that prevents it from detecting networking is available and thus cannot be run.
>
> Looking forward for enhancing pull requests :-D
>
> [1] https://gitlab.com/koha-community/koha-dpkg-docker/-/blob/bfdbbd326e9e1e59fb903953205c8fe122f596d4/pbuilder.sh#L47 <https://gitlab.com/koha-community/koha-dpkg-docker/-/blob/bfdbbd326e9e1e59fb903953205c8fe122f596d4/pbuilder.sh#L47>
> [2] The error we got:
>
> "/usr/bin/perl" build-resources.PL
>
> yarn install v1.22.19
>
> warning You don't appear to have an internet connection. Try the --offline flag to use the cache for registry queries.

hi, the following patch should fix this error

https://gitlab.com/koha-community/koha-dpkg-docker/-/merge_requests/7

_______________________________________________
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/