Closed educob closed 4 years ago
UPDATE: I think the problem is that there no python3 installed on the image. I have open a bash and tried to run "apt-get install python3" but it doesn't find the package I can't figure it out why.
That is indeed correct, we don't install python3 in the base docker image. The reason you aren't seeing it when trying to install with apt
is that we remove the apt repository caches to make the image smaller. You have to do an apt update
first, and then it'll find python3
as well.
I'll add python3 to the base image, since most of our plugins are indeed written in python.
Thanks. I'll try that.
Hi.
I have the following c-lightning service in a docker-compose.yml file:
As you can see I am running a python plugin:
/root/.lightning/ln_testnet.py
When upping the docker-compose I get error:
/usr/bin/env: 'python3': No such file or directory
I have seen this kind of errors when running docker on windows because EOL but I am running on linux-mint 19.2
Thanks.
UPDATE: I think the problem is that there no python3 installed on the image. I have open a bash and tried to run "apt-get install python3" but it doesn't find the package I can't figure it out why.