forked from HarGit14/docker-mediathekview
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
40 lines (33 loc) · 1.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
FROM hurricane/dockergui:x11rdp
# set variables
# User/Group Id gui app will be executed as default are 99 and 100
ENV USER_ID=99 GROUP_ID=100 APP_NAME="Mediathekview" WIDTH=1420 HEIGHT=840 TERM=xterm
# Use baseimage-docker's init system
CMD ["/sbin/my_init"]
# Add local files
ADD src/ /
# start files and config etc....
RUN mv /rc.xml /nobody/.config/openbox/rc.xml && \
# repositories
echo 'deb http://archive.ubuntu.com/ubuntu trusty main universe restricted' > /etc/apt/sources.list && \
echo 'deb http://archive.ubuntu.com/ubuntu trusty-updates main universe restricted' >> /etc/apt/sources.list && \
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && \
add-apt-repository -y ppa:webupd8team/java && \
apt-get update
RUN apt-get install -y oracle-java8-installer
# update apt and install dependencies
RUN apt-get install -qy vlc
# vlc \
RUN apt-get install -qy flvstreamer
RUN add-apt-repository -y ppa:mc3man/trusty-media
RUN apt-get update
RUN apt-get -qy dist-upgrade
RUN apt-get install -qy ffmpeg
# RUN apt-get install -qy ffmpeg
RUN apt-get install -qy mplayer
# download Mediathekview
#
# wget http://heanet.dl.sourceforge.net/project/zdfmediathk/Mediathek/Mediathek%2011/MediathekView_11.zip -P /opt/ && \
RUN wget https://download.mediathekview.de/stabil/MediathekView-latest.zip -P /opt/
RUN unzip /opt/MediathekView-latest.zip -d /opt/
ENV JAVA_HOME /usr/lib/jvm/java-8-oracle