Raku / whateverable

🤖 Different IRC bots that operate on a bunch of prebuilt Rakudo versions
https://gist.github.com/Whateverable
GNU Affero General Public License v3.0
18 stars 14 forks source link

Dockerize it? #323

Closed JJ closed 11 months ago

JJ commented 6 years ago

Create a docker container for some, or all, the bots. It will help test them (#288) and also deploying them to some other places.

AlexDaniel commented 6 years ago

I'm all for it. So far I had no chance to try out docker, so most likely I won't be able to jump in to resolve this ticket. But anyone should feel free to do it, the steps on wiki/Installation should give enough information to get the bots going.

JJ commented 6 years ago

I am trying this using the alpine-perl6 base container, but it fails this way:

===> Install [FAIL] for Digest::SHA1::Native:ver<0.03>: Failed to open file /root/.zef/store/p6-digest-sha1-native.git/44c3452d057fabc293386af2d752683364e8eb45/resources/libraries/libsha1.so: No such file or directory
===> Updated p6c mirror: http://ecosystem-api.p6c.org/projects.json
Failed to open file /root/.zef/store/p6-digest-sha1-native.git/44c3452d057fabc293386af2d752683364e8eb45/resources/libraries/libsha1.so: No such file or directory
  in any  at /root/.rakudobrew/moar-master/install/share/perl6/site/precomp/19520F0404EE425FF71DCDAAED6E8931565CBBB0/82/8244C3B17ACA61B0EC04857BB3283A8FAF7A186D line 1
  in block  at /root/.rakudobrew/moar-master/install/share/perl6/site/sources/8244C3B17ACA61B0EC04857BB3283A8FAF7A186D (Zef::Client) line 570
  in any  at /root/.rakudobrew/moar-master/install/share/perl6/site/precomp/19520F0404EE425FF71DCDAAED6E8931565CBBB0/82/8244C3B17ACA61B0EC04857BB3283A8FAF7A186D line 1
  in block  at /root/.rakudobrew/moar-master/install/share/perl6/site/sources/8244C3B17ACA61B0EC04857BB3283A8FAF7A186D (Zef::Client) line 578
  in block  at /root/.rakudobrew/moar-master/install/share/perl6/site/sources/8244C3B17ACA61B0EC04857BB3283A8FAF7A186D (Zef::Client) line 544
  in sub  at /root/.rakudobrew/moar-master/install/share/perl6/site/sources/8244C3B17ACA61B0EC04857BB3283A8FAF7A186D (Zef::Client) line 534
  in method install at /root/.rakudobrew/moar-master/install/share/perl6/site/sources/8244C3B17ACA61B0EC04857BB3283A8FAF7A186D (Zef::Client) line 621
  in sub MAIN at /root/.rakudobrew/moar-master/install/share/perl6/site/sources/81436475BD18D66BFD96BBCEE07CCCDC0F368879 (Zef::CLI) line 152
  in block <unit> at /root/.rakudobrew/moar-master/install/share/perl6/site/resources/D822DF07A6D5CB602F97ED307F62A1B3B5D2C90D line 3
  in sub MAIN at /root/.rakudobrew/bin/../moar-master/install/share/perl6/site/bin/zef line 2
  in block <unit> at /root/.rakudobrew/bin/../moar-master/install/share/perl6/site/bin/zef line 2

I'll try to create an intermediate container to see if I can fix that. Maybe this simply can't work with the Alpine base container...