mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-07 15:02:40 +00:00
Docker Fedora: Add more dependencies
Also make the indentation 4-space widgth and consinstant
This commit is contained in:
parent
d9604ca8d2
commit
17e6d06735
2 changed files with 95 additions and 63 deletions
|
@ -1,43 +1,59 @@
|
||||||
FROM registry.freedesktop.org/thiblahute/gst-ci/amd64/fedora-runtime
|
FROM registry.freedesktop.org/thiblahute/gst-ci/amd64/fedora-runtime
|
||||||
|
|
||||||
# Add rpmfusion repositories and install all build dependencies of GStreamer
|
# Add rpmfusion repositories and install all build dependencies of GStreamer
|
||||||
RUN dnf builddep -y \
|
RUN dnf builddep -y \
|
||||||
gstreamer1 \
|
gstreamer1 \
|
||||||
gstreamer1-plugins-base \
|
gstreamer1-plugins-base \
|
||||||
gstreamer1-plugins-good \
|
gstreamer1-plugins-good \
|
||||||
gstreamer1-plugins-good-extras \
|
gstreamer1-plugins-good-extras \
|
||||||
gstreamer1-plugins-ugly \
|
gstreamer1-plugins-ugly \
|
||||||
gstreamer1-plugins-ugly-free \
|
gstreamer1-plugins-ugly-free \
|
||||||
gstreamer1-plugins-bad-nonfree \
|
gstreamer1-plugins-bad-nonfree \
|
||||||
gstreamer1-plugins-bad-free \
|
gstreamer1-plugins-bad-free \
|
||||||
gstreamer1-plugins-bad-free-extras \
|
gstreamer1-plugins-bad-free-extras \
|
||||||
gstreamer1-plugins-bad-freeworld \
|
gstreamer1-plugins-bad-freeworld \
|
||||||
gstreamer1-libav \
|
gstreamer1-libav \
|
||||||
gstreamer1-rtsp-server \
|
gstreamer1-rtsp-server \
|
||||||
python3-gstreamer1 \
|
python3-gstreamer1 \
|
||||||
&& \
|
&& \
|
||||||
rpm -e \
|
rpm -e \
|
||||||
gstreamer1-devel \
|
gstreamer1-devel \
|
||||||
gstreamer1-plugins-base-devel \
|
gstreamer1-plugins-base-devel \
|
||||||
&& \
|
&& \
|
||||||
dnf install -y \
|
dnf install -y \
|
||||||
ccache \
|
ccache \
|
||||||
gcc-c++ \
|
gcc \
|
||||||
gdb \
|
gcc-c++ \
|
||||||
git \
|
gdb \
|
||||||
json-glib-devel \
|
git \
|
||||||
libunwind-devel \
|
ffmpeg \
|
||||||
opencv-devel \
|
ffmpeg-libs \
|
||||||
openjpeg2-devel \
|
ffmpeg-devel \
|
||||||
patch \
|
procps-ng \
|
||||||
redhat-rpm-config \
|
patch \
|
||||||
xorg-x11-server-Xvfb \
|
redhat-rpm-config \
|
||||||
xorg-x11-server-utils \
|
json-glib \
|
||||||
ninja-build \
|
json-glib-devel \
|
||||||
wget && \
|
libnice \
|
||||||
dnf clean all
|
libnice-devel \
|
||||||
|
libunwind \
|
||||||
RUN pip3 install meson
|
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 \
|
||||||
|
ninja-build && \
|
||||||
|
dnf clean all && \
|
||||||
|
pip3 install meson && \
|
||||||
|
export PATH="$PATH:/usr/local/lib/python3.6/site-packages"
|
||||||
|
|
||||||
ENV GST_BUILD_PATH="/gst-build/"
|
ENV GST_BUILD_PATH="/gst-build/"
|
||||||
ENV GST_VALIDATE_OUTPUT="/validate-output"
|
ENV GST_VALIDATE_OUTPUT="/validate-output"
|
||||||
|
@ -51,4 +67,5 @@ RUN git config --global user.email "gst-build@gstreamer.net" && git config --glo
|
||||||
# get gst-build and make all subprojects available
|
# get gst-build and make all subprojects available
|
||||||
RUN git clone git://anongit.freedesktop.org/gstreamer/gst-build $GST_BUILD_PATH && \
|
RUN git clone git://anongit.freedesktop.org/gstreamer/gst-build $GST_BUILD_PATH && \
|
||||||
cd $GST_BUILD_PATH && \
|
cd $GST_BUILD_PATH && \
|
||||||
meson build/ $GST_BUILD_MESON_ARGS
|
meson build/ $GST_BUILD_MESON_ARGS && \
|
||||||
|
rm -rf build/
|
|
@ -1,5 +1,8 @@
|
||||||
FROM fedora:29
|
FROM fedora:29
|
||||||
|
|
||||||
|
# install the config manager
|
||||||
|
RUN dnf install -y dnf-plugins-core
|
||||||
|
|
||||||
# Add rpmfusion repositories and install all build dependencies of GStreamer
|
# Add rpmfusion repositories and install all build dependencies of GStreamer
|
||||||
# and then remove the gst packages themselves
|
# and then remove the gst packages themselves
|
||||||
RUN echo "fastestmirror=true" >> /etc/dnf/dnf.conf && \
|
RUN echo "fastestmirror=true" >> /etc/dnf/dnf.conf && \
|
||||||
|
@ -9,37 +12,49 @@ RUN echo "fastestmirror=true" >> /etc/dnf/dnf.conf && \
|
||||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-29 && \
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-29 && \
|
||||||
dnf upgrade -y && \
|
dnf upgrade -y && \
|
||||||
dnf install -y \
|
dnf install -y \
|
||||||
dnf-plugins-core \
|
dnf-plugins-core \
|
||||||
json-glib \
|
git \
|
||||||
libunwind \
|
meson \
|
||||||
opencv \
|
json-glib \
|
||||||
openjpeg2 \
|
libnice \
|
||||||
procps-ng \
|
libunwind \
|
||||||
|
openjpeg2 \
|
||||||
|
procps-ng \
|
||||||
|
x264 \
|
||||||
|
x264-libs \
|
||||||
|
python3-gobject \
|
||||||
|
python3-cairo \
|
||||||
|
ffmpeg \
|
||||||
|
ffmpeg-libs \
|
||||||
|
xorg-x11-server-utils \
|
||||||
|
xorg-x11-server-Xvfb \
|
||||||
&& \
|
&& \
|
||||||
dnf install -y \
|
dnf install -y \
|
||||||
gstreamer1 \
|
gstreamer1 \
|
||||||
gstreamer1-plugins-base \
|
gstreamer1-plugins-base \
|
||||||
gstreamer1-plugins-good \
|
gstreamer1-plugins-good \
|
||||||
gstreamer1-plugins-good-extras \
|
gstreamer1-plugins-good-extras \
|
||||||
gstreamer1-plugins-ugly \
|
gstreamer1-plugins-ugly \
|
||||||
gstreamer1-plugins-ugly-free \
|
gstreamer1-plugins-ugly-free \
|
||||||
gstreamer1-plugins-bad-nonfree \
|
gstreamer1-plugins-bad-nonfree \
|
||||||
gstreamer1-plugins-bad-free \
|
gstreamer1-plugins-bad-free \
|
||||||
gstreamer1-plugins-bad-free-extras \
|
gstreamer1-plugins-bad-free-extras \
|
||||||
gstreamer1-plugins-bad-freeworld \
|
gstreamer1-plugins-bad-freeworld \
|
||||||
gstreamer1-libav \
|
gstreamer1-libav \
|
||||||
gstreamer1-rtsp-server \
|
gstreamer1-rtsp-server \
|
||||||
&& \
|
&& \
|
||||||
rpm -e \
|
rpm -e \
|
||||||
gstreamer1-plugins-good \
|
gstreamer1 \
|
||||||
gstreamer1-plugins-good-extras \
|
gstreamer1-plugins-base \
|
||||||
gstreamer1-plugins-ugly \
|
gstreamer1-plugins-good \
|
||||||
gstreamer1-plugins-ugly-free \
|
gstreamer1-plugins-good-extras \
|
||||||
gstreamer1-plugins-bad-nonfree \
|
gstreamer1-plugins-ugly \
|
||||||
gstreamer1-plugins-bad-free \
|
gstreamer1-plugins-ugly-free \
|
||||||
gstreamer1-plugins-bad-free-extras \
|
gstreamer1-plugins-bad-nonfree \
|
||||||
gstreamer1-plugins-bad-freeworld \
|
gstreamer1-plugins-bad-free \
|
||||||
gstreamer1-rtsp-server \
|
gstreamer1-plugins-bad-free-extras \
|
||||||
gstreamer1-libav \
|
gstreamer1-plugins-bad-freeworld \
|
||||||
|
gstreamer1-rtsp-server \
|
||||||
|
gstreamer1-libav \
|
||||||
&& \
|
&& \
|
||||||
dnf clean all
|
dnf clean all
|
Loading…
Reference in a new issue