-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Python support in Docker? #1
Comments
@bunny1985 , thanks for reaching out! If you could help with this please go ahead... I'm quite new to docker and already happy I could make this ;) |
Just had a quick look at the dockerfile, it installs 'libpython3.7-dev' , maybe it's the wrong library and we need to change this to 'libpython3.7' ? |
#2 |
Thanks! Could it be that python was detected from my host system? Because my Domoticz docker installations shows it detected python. Another question, if a docker user needs a special module (or multiple) do you know a way how this can be installed ? Maybe a startup script that looks inside the userdata folder launched at startup ? |
i think that domoticz checks libpython version, not that python executable is there |
@bunny1985, If all is working correctly, you have to create a directory 'plugins' in the userdata folder and all plugins are loaded from here. I meant like if you have a plugin that depends on 'module_xyz' to be installed, it would be nice that when the docker goes 'up' that it will install 'module_xyz' If we had a script in the userdata folder (like init_startup.sh for example) that was executed when the docker goes 'up' we could for example in here 'pip3 install module_xyz' and other actions |
Nice to join this thread: Can we use this here: That way it would be possible to customize runscripts and additional services. |
Fixed with #12 |
First of all thank you for your great work. I'm testing how it looks like
Hi As far as I can see there is no python3 installed so no plugins will work.
I think it could be changed,
( one line in dockerfile)
For now I will have to build on top of this :)
The text was updated successfully, but these errors were encountered: