Last active
March 24, 2017 14:44
-
-
Save rubyon/50c304ac640badb33efa4bec7c4e53f7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM linuxserver/tvheadend | |
MAINTAINER 1.0 rubyon@me.com | |
RUN apk update | |
RUN apk add git gcc python-dev libxml2-dev libxslt-dev musl-dev py-pip | |
RUN pip install --upgrade pip | |
RUN pip install requests BeautifulSoup4 lxml | |
RUN git clone https://github.com/wonipapa/epg2xml.git | |
RUN chmod +x /epg2xml/epg2xml.py && chmod 755 /epg2xml/Channel.json | |
RUN echo "/epg2xml/./epg2xml.py -i SK -s /config/epggrab/xmltv.sock" > /epg.sh | |
RUN touch crontab.tmp && echo '* */12 * * * /bin/sh /epg.sh' > crontab.tmp && crontab crontab.tmp && rm -rf crontab.tmp | |
CMD ["crond", "-f", "-d", "8"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment