-FROM gstreamer/base-fedora:latest
+FROM registry.freedesktop.org/thiblahute/gst-ci/fedora-runtime
# Add rpmfusion repositories and install all build dependencies of GStreamer
RUN dnf builddep -y \
gstreamer1-plugins-bad-freeworld \
gstreamer1-libav \
gstreamer1-rtsp-server \
+ python3-gstreamer1 \
&& \
rpm -e \
- gstreamer1 \
- gstreamer1-plugins-base \
gstreamer1-devel \
gstreamer1-plugins-base-devel \
&& \
redhat-rpm-config \
xorg-x11-server-Xvfb \
xorg-x11-server-utils \
- wget \
- && \
+ wget \
+ meson && \
dnf clean all
-# Clone copies of all repositories to avoid extra downloads
-RUN mkdir /repositories && \
- cd /repositories && \
- for i in orc \
- common \
- gstreamer \
- gst-plugins-base \
- gst-plugins-good \
- gst-plugins-bad \
- gst-plugins-ugly \
- gst-libav \
- gst-build \
- gst-devtools\
- gst-docs \
- gst-editing-services \
- gst-omx \
- gst-python \
- gst-rtsp-server; \
- do \
- git clone --mirror https://anongit.freedesktop.org/git/gstreamer/$i; \
- done
-
-# Install repo tool
-RUN wget -nd https://storage.googleapis.com/git-repo-downloads/repo -O /usr/bin/repo && chmod a+x /usr/bin/repo
-
# Add the user UID:1000, GID:1000, home at /gstbuild
RUN groupadd -r gstbuild -g 1000 && useradd -u 1000 -r -g gstbuild -m -d /gstbuild -s /sbin/nologin -c "Gstbuild user" gstbuild && \
chmod 755 /gstbuild
-FROM fedora:26
+FROM fedora:29
# Add rpmfusion repositories and install all build dependencies of GStreamer
# and then remove the gst packages themselves
RUN echo "fastestmirror=true" >> /etc/dnf/dnf.conf && \
- dnf install -y http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-26.noarch.rpm \
- http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-26.noarch.rpm && \
- rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-26 && \
- rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-26 && \
+ dnf install -y http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-29.noarch.rpm \
+ http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-29.noarch.rpm && \
+ rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-29 && \
+ rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-29 && \
dnf upgrade -y && \
dnf install -y \
dnf-plugins-core \
gstreamer1-rtsp-server \
&& \
rpm -e \
- gstreamer1 \
- gstreamer1-plugins-base \
gstreamer1-plugins-good \
gstreamer1-plugins-good-extras \
gstreamer1-plugins-ugly \