2015-01-08, 19:10
I already compiled kodi-headless.
The Main-Goal is to create a plugin for OpenMediaVault, which contains the compiled binary and all the other settings-stuff from /opt/kodi-server in a (portable) docker-container and a simple GUI for settings of Kodi-server like Serverport, Serverpassword, mysqluser and -pw.
The Users don't have to install 844586 new packages for Kodi-Server (just like it was with the xbmc-library-scanner.so)
If I read you posts correct, I need only this part:
The Main-Goal is to create a plugin for OpenMediaVault, which contains the compiled binary and all the other settings-stuff from /opt/kodi-server in a (portable) docker-container and a simple GUI for settings of Kodi-server like Serverport, Serverpassword, mysqluser and -pw.
The Users don't have to install 844586 new packages for Kodi-Server (just like it was with the xbmc-library-scanner.so)
If I read you posts correct, I need only this part:
Code:
# set base os
FROM debian:wheezy
ENV DEBIAN_FRONTEND noninteractive
# Set correct environment variables
ENV HOME /root
RUN echo "[supervisord]" >> /etc/supervisor/conf.d/supervisord.conf && \
echo "nodaemon=true" >> /etc/supervisor/conf.d/supervisord.conf && \
echo "[program:kodi-server]" >> /etc/supervisor/conf.d/supervisord.conf && \
echo "command=/opt/kodi-server/lib/kodi/kodi.bin --nolirc --headless -p" >> /etc/supervisor/conf.d/supervisord.conf
EXPOSE 9777/udp 80/tcp
ENTRYPOINT ["/usr/bin/supervisord"]