gstreamer/docker/build-base-images/Dockerfile-ubuntu

41 lines
1.3 KiB
Text
Raw Normal View History

2018-08-07 23:28:08 +00:00
FROM registry.freedesktop.org/thiblahute/gst-ci/ubuntu-runtime
2017-10-21 10:45:38 +00:00
# make source packages available in order to figure out build dependencies
RUN \
sed -i "s/# deb-src/deb-src/g" /etc/apt/sources.list && \
apt-get update && \
apt-get -y build-dep \
orc \
gstreamer1.0 \
gst-plugins-base1.0 \
gst-plugins-good1.0 \
gst-plugins-bad1.0 \
gst-plugins-ugly1.0 \
gst-libav1.0 \
gst-rtsp-server1.0 \
gst-python1.0 \
gstreamer-vaapi \
gstreamer-editing-services1.0 && \
apt-get -y install \
ccache \
gdb \
git \
xvfb \
python3-pip \
wget
RUN pip3 install meson
ENV GST_BUILD_PATH="/gst-build/"
ENV GST_VALIDATE_OUTPUT="/validate-output"
ENV GST_VALIDATE_TESTSUITES="$GST_VALIDATE_OUTPUT/gst-integration-testsuites"
# FIXME Enabled gst-libav.
ENV GST_BUILD_MESON_ARGS="-Dpython=disabled -Dlibav=disabled -Dugly=enabled -Dbad=enabled -Ddevtools=enabled -Dges=enabled -Drtsp_server=enabled -Domx=disabled -Dvaapi=disabled -Dsharp=disabled"
2017-10-21 10:45:38 +00:00
# Configure git for various usage
RUN git config --global user.email "gst-build@gstreamer.net" && git config --global user.name "Gstbuild Runner"
2017-10-21 10:45:38 +00:00
# get gst-build and make all subprojects available
RUN git clone git://anongit.freedesktop.org/gstreamer/gst-build $GST_BUILD_PATH && \
cd $GST_BUILD_PATH && \
meson build/ $GST_BUILD_MESON_ARGS