-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
executable file
·43 lines (34 loc) · 1.15 KB
/
Dockerfile
File metadata and controls
executable file
·43 lines (34 loc) · 1.15 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
FROM debian:bookworm
ENV PATH="/container/scripts:${PATH}"
ENV LANG C.UTF-8
ENV LANGUAGE C.UTF-8
ENV LC_ALL C.UTF-8
RUN export DEBIAN_FRONTEND=noninteractive \
\
&& apt-get -q -y update \
&& apt-get -q -y install apt-transport-https locales gnupg curl runit \
&& apt-get -q -y clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
\
&& locale-gen en_US.UTF-8 en_us \
&& dpkg-reconfigure locales \
&& dpkg-reconfigure locales \
&& locale-gen C.UTF-8 \
&& /usr/sbin/update-locale LANG=C.UTF-8
ADD --chmod=755 https://raw.githubusercontent.com/b-jesch/tv_grab_file/master/tv_grab_file /usr/bin/tv_grab_file
RUN export DEBIAN_FRONTEND=noninteractive \
&& curl -1sLf 'https://dl.cloudsmith.io/public/tvheadend/tvheadend/setup.deb.sh' | bash \
\
&& apt-get -q -y update \
&& apt-get -q -y install tvheadend \
\
&& apt-get -q -y clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# basic for WebUI and streaming
EXPOSE 9981
# for HTSP main for Kodi PVR plugin
EXPOSE 9982
COPY . /container/
HEALTHCHECK CMD ["/container/scripts/docker-healthcheck.sh"]
ENTRYPOINT ["/container/scripts/entrypoint.sh"]
CMD [ "runsvdir","-P", "/container/config/runit" ]