forked from ehough/docker-kodi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
72 lines (64 loc) · 3.43 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# ehough/docker-kodi - Dockerized Kodi with audio and video.
#
# https://github.com/ehough/docker-kodi
# https://hub.docker.com/r/erichough/kodi/
#
# Copyright 2018 - Eric Hough ([email protected])
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
FROM ubuntu:bionic
# install the team-xbmc ppa
RUN apt-get update && \
apt-get install -y --no-install-recommends software-properties-common && \
add-apt-repository ppa:team-xbmc/ppa && \
apt-get -y purge ca-certificates openssl software-properties-common && \
apt-get -y --purge autoremove && \
rm -rf /var/lib/apt/lists/*
# install base packages
RUN packages="kodi kodi-eventclients-xbmc-send" && \
apt-get update && \
apt-get install -y --no-install-recommends $packages && \
apt-get -y --purge autoremove && \
rm -rf /var/lib/apt/lists/*
# setup entry point
COPY entrypoint.sh /usr/local/bin
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
# install optional packages. do this last so we can cache the above layers between branches
RUN packages=" \
kodi-pvr-argustv \
kodi-pvr-dvblink \
kodi-pvr-dvbviewer \
kodi-pvr-hdhomerun \
kodi-pvr-hts \
kodi-pvr-iptvsimple \
kodi-pvr-mythtv \
kodi-pvr-nextpvr \
kodi-pvr-njoy \
kodi-pvr-octonet \
kodi-pvr-pctv \
kodi-pvr-vbox \
kodi-pvr-vdr-vnsi \
kodi-pvr-vuplus=*~bionic \
pulseaudio" && \
apt-get update && \
apt-get install -y --no-install-recommends $packages && \
apt-get -y --purge autoremove && \
rm -rf /var/lib/apt/lists/*
# notes on the PVR packages:
#
# kodi-pvr-vuplus needs its version set to prevent the Debian package from taking priority
# kodi-pvr-mediaportal-tvserver can in installed once this issue [1] is fixed.
# kodi-pvr-wmc can be installed once this PR [2] makes its way into the Team XBMC PPA. See this issue [3] for details.
#
# [1] https://github.com/kodi-pvr/pvr.mediaportal.tvserver/issues/86
# [2] https://github.com/kodi-pvr/pvr.wmc/pull/61
# [3] https://github.com/kodi-pvr/pvr.wmc/issues/60