gstreamer/docker/runtime-images/Dockerfile-fedora

60 lines
1.9 KiB
Text
Raw Normal View History

2018-08-07 23:27:40 +00:00
FROM fedora:29
2017-10-21 10:45:38 +00:00
# install the config manager
RUN dnf install -y dnf-plugins-core
2017-10-21 10:45:38 +00:00
# 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 && \
2018-08-07 23:27:40 +00:00
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 && \
2017-10-21 10:45:38 +00:00
dnf upgrade -y && \
dnf install -y \
dnf-plugins-core \
git \
meson \
json-glib \
libnice \
libunwind \
openjpeg2 \
procps-ng \
x264 \
x264-libs \
python3-gobject \
python3-cairo \
ffmpeg \
ffmpeg-libs \
xorg-x11-server-utils \
xorg-x11-server-Xvfb \
2017-10-21 10:45:38 +00:00
&& \
dnf install -y \
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 \
2017-10-21 10:45:38 +00:00
&& \
rpm -e \
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-rtsp-server \
gstreamer1-libav \
2017-10-21 10:45:38 +00:00
&& \
dnf clean all