-
Notifications
You must be signed in to change notification settings - Fork 84
/
Dockerfile
71 lines (66 loc) · 2.8 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
FROM ubuntu:18.04
MAINTAINER Zhang Ping, dqzhangp@163.com
# install required packages
RUN apt-get update && \
apt-get install -y git autoconf automake libtool pkg-config autopoint gettext liborc-0.4-dev make libglib2.0-dev flex bison && \
git clone git://anongit.freedesktop.org/gstreamer/gstreamer && \
cd gstreamer && \
git checkout 1.16.2 && \
./autogen.sh --prefix=/usr --disable-gtk-doc-pdf --disable-gtk-doc && \
make && \
make install && \
cd / && rm -rf gstreamer
RUN apt-get install -y libpango1.0-dev libasound2-dev && \
git clone git://anongit.freedesktop.org/gstreamer/gst-plugins-base && \
cd gst-plugins-base && \
git checkout 1.16.2 && \
./autogen.sh --prefix=/usr --disable-gtk-doc-pdf --disable-gtk-doc && \
make && \
make install && \
cd / && rm -rf gst-plugins-base
RUN apt-get install -y libsoup2.4-dev && \
RUN git clone git://anongit.freedesktop.org/gstreamer/gst-plugins-good && \
cd gst-plugins-good && \
git checkout 1.16.2 && \
./autogen.sh --prefix=/usr --disable-gtk-doc-pdf --disable-gtk-doc && \
make && \
make install && \
cd / && rm -rf gst-plugins-good
RUN apt-get install -y libmpeg2-4-dev libmad-ocaml-dev libmp3lame-dev liba52-0.7.4-dev libx264-dev && \
git clone git://anongit.freedesktop.org/gstreamer/gst-plugins-ugly && \
cd gst-plugins-ugly && \
git checkout 1.16.2 && \
./autogen.sh --prefix=/usr --disable-gtk-doc-pdf --disable-gtk-doc --disable-fatal-warnings && \
make && \
make install && \
cd / && rm -rf gst-plugins-ugly
RUN apt-get install -y libvoaacenc-ocaml-dev librtmp-dev libx265-dev openssl libssl-dev --fix-missing && \
git clone git://anongit.freedesktop.org/gstreamer/gst-plugins-bad && \
cd gst-plugins-bad && \
git checkout 1.16.2 && \
./autogen.sh --prefix=/usr --disable-gtk-doc-pdf --disable-gtk-doc --disable-gl && \
make && \
make install && \
cd / && rm -rf gst-plugins-bad
RUN apt-get install -y yasm && \
git clone git://anongit.freedesktop.org/gstreamer/gst-ffmpeg && \
cd gst-ffmpeg && \
git checkout 1.16.2 && \
./autogen.sh --prefix=/usr --disable-gtk-doc-pdf --disable-gtk-doc --disable-fatal-warnings && \
make && \
make install && \
cd / && rm -rf gst-libav
# install gsreamill
RUN apt-get install -y libaugeas-dev && \
git clone https://github.com/i4tv/gstreamill.git
RUN cd gstreamill && \
git pull && \
git checkout v1.0.0 && \
./autogen.sh && \
./configure --prefix=/usr && \
make && \
make install && \
cd / && rm -rf gstreamill
CMD mount -o remount -o size=10240M /dev/shm && gstreamill -d
EXPOSE 20118
EXPOSE 20119