代码拉取完成,页面将自动刷新
FROM ubuntu:16.04.1
MAINTAINER Zhang Ping, [email protected]
# 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.8.3 && \
./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.8.3 && \
./autogen.sh --prefix=/usr --disable-gtk-doc-pdf --disable-gtk-doc && \
make && \
make install && \
cd / && rm -rf gst-plugins-base
RUN git clone git://anongit.freedesktop.org/gstreamer/gst-plugins-good && \
cd gst-plugins-good && \
git checkout 1.8.3 && \
./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.8.3 && \
./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 --fix-missing libx265-dev && \
git clone git://anongit.freedesktop.org/gstreamer/gst-plugins-bad && \
cd gst-plugins-bad && \
git checkout 1.8.3 && \
./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.8.3 && \
./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 v0.8.3 && \
./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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。