Dockerfile-fedora 1.97 KB
Newer Older
1
FROM registry.freedesktop.org/gstreamer/gst-ci/amd64/fedora-runtime
Edward Hervey's avatar
Edward Hervey committed
2 3
# Add rpmfusion repositories and install all build dependencies of GStreamer
RUN dnf builddep -y \
4 5 6 7 8 9 10 11 12 13 14 15
        gstreamer1 \
        gstreamer1-plugins-base \
        gstreamer1-plugins-good \
        gstreamer1-plugins-good-extras \
        gstreamer1-plugins-ugly \
        gstreamer1-plugins-ugly-free \
        gstreamer1-plugins-bad-nonfree \
        gstreamer1-plugins-bad-free \
        gstreamer1-plugins-bad-free-extras \
        gstreamer1-plugins-bad-freeworld \
        gstreamer1-libav \
        gstreamer1-rtsp-server  \
16
        gstreamer1-vaapi \
17
        python3-gstreamer1 \
Edward Hervey's avatar
Edward Hervey committed
18 19
    && \
    rpm -e \
20 21
        gstreamer1-devel \
        gstreamer1-plugins-base-devel \
22
        gstreamer1-plugins-bad-free-devel \
Edward Hervey's avatar
Edward Hervey committed
23 24
    && \
    dnf install -y \
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
        ccache \
        gcc \
        gcc-c++ \
        gdb \
        git \
        ffmpeg \
        ffmpeg-libs \
        ffmpeg-devel \
        procps-ng \
        patch \
        redhat-rpm-config \
        json-glib \
        json-glib-devel \
        libnice \
        libnice-devel \
        libunwind \
        libunwind-devel \
        opencv \
        opencv-devel \
        openjpeg2 \
        openjpeg2-devel \
        x264 \
        x264-libs \
        x264-devel \
        pygobject3-devel \
        python3-gobject \
        python3-cairo \
        python3-cairo-devel \
        xorg-x11-server-utils \
        xorg-x11-server-Xvfb \
55
        ninja-build \
56
        cmake && \
57
    dnf clean all && \
58
    pip3 install meson hotdoc && \
59
    export PATH="$PATH:/usr/local/lib/python3.6/site-packages"
Edward Hervey's avatar
Edward Hervey committed
60

61
ENV GST_BUILD_PATH="/gst-build/"
Edward Hervey's avatar
Edward Hervey committed
62 63

# Configure git for various usage
64 65 66 67 68
RUN git config --global user.email "gst-build@gstreamer.net" && git config --global user.name "Gstbuild Runner"

# 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 && \
69
    meson build/ && \
70
    rm -rf build/