-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathDockerfile
29 lines (22 loc) · 868 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM alpine:3
ENV USERNAME=none
ENV PASSWORD=none
ENV OPT_ARGS=
ENV USERNAME2=none
ENV PASSWORD2=none
ENV OPT_ARGS2=
ENV XMLTV_FILENAME=xmltv.xml
# Wait 12 Hours after run
ENV SLEEPTIME=43200
RUN echo "@edge http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories
RUN apk add --no-cache perl@edge perl-html-parser@edge perl-http-cookies@edge \
perl-lwp-useragent-determined@edge perl-json@edge perl-json-xs@edge \
perl-lwp-protocol-https@edge perl-uri@edge ca-certificates@edge \
perl-net-libidn@edge perl-net-ssleay@edge perl-io-socket-ssl@edge \
perl-libwww@edge perl-mozilla-ca@edge perl-net-http@edge
RUN apk add --no-cache xmltv@edge
VOLUME /data
ADD zap2xml.pl /zap2xml.pl
ADD entry.sh /entry.sh
RUN chmod 755 /entry.sh /zap2xml.pl
CMD ["/entry.sh"]