Update Dockerfile

This commit is contained in:
Anders Rytter Hansen 2023-07-18 14:52:40 +02:00
commit 86557b0de7

View file

@ -27,8 +27,9 @@ setcap cap_sys_admin+ep '/usr/bin/gsr-kms-server'
# install RPM-fusion
RUN rpm-ostree install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
# install nonfree codecs
RUN rpm-ostree install libavcodec-freeworld
RUN rpm-ostree override remove libavcodec-free libavfilter-free libavformat-free libavutil-free libpostproc-free libswresample-free libswscale-free mesa-va-drivers --install libavcodec-freeworld ffmpeg ffmpeg-libs intel-media-driver mesa-va-drivers-freeworld pipewire-codec-aptx libva-intel-driver libva-utils
RUN rpm-ostree cleanup -m && \
rm -rf /tmp/* /var/* && mkdir -p /var/tmp && chmod -R 1777 /var/tmp && \