Change multimedia to rpmfusion and isolate rpmfusion to script
This commit is contained in:
@@ -32,12 +32,7 @@ COPY ./cosign.pub /etc/pki/containers/hydros.pub
|
|||||||
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
|
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
|
||||||
--mount=type=cache,dst=/var/cache/ \
|
--mount=type=cache,dst=/var/cache/ \
|
||||||
--mount=type=tmpfs,dst=/tmp \
|
--mount=type=tmpfs,dst=/tmp \
|
||||||
/ctx/dnfstart.sh
|
/ctx/dnf/rpmfusion.sh
|
||||||
|
|
||||||
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
|
|
||||||
--mount=type=cache,dst=/var/cache/ \
|
|
||||||
--mount=type=tmpfs,dst=/tmp \
|
|
||||||
/ctx/dnf/multimedia.sh
|
|
||||||
|
|
||||||
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
|
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
|
||||||
--mount=type=cache,dst=/var/cache/ \
|
--mount=type=cache,dst=/var/cache/ \
|
||||||
|
|||||||
@@ -5,8 +5,6 @@ set -ouex pipefail
|
|||||||
### Cleanup
|
### Cleanup
|
||||||
dnf5 clean all
|
dnf5 clean all
|
||||||
|
|
||||||
rm -f /etc/yum.repos.d/rpmfusion-*\.repo
|
|
||||||
|
|
||||||
rm -rf /usr/etc
|
rm -rf /usr/etc
|
||||||
|
|
||||||
rm -rf /var/lib/dnf
|
rm -rf /var/lib/dnf
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ dnf5 -y install \
|
|||||||
btop \
|
btop \
|
||||||
zsh \
|
zsh \
|
||||||
zoxide \
|
zoxide \
|
||||||
steam \
|
|
||||||
gamescope \
|
gamescope \
|
||||||
mangohud
|
mangohud
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
set -ouex pipefail
|
set -ouex pipefail
|
||||||
|
|
||||||
|
# Enable rpm fusion free and nonfree
|
||||||
|
dnf5 -y install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
||||||
|
|
||||||
# switch to full ffmpeg
|
# switch to full ffmpeg
|
||||||
dnf5 -y swap ffmpeg-free ffmpeg --allowerasing
|
dnf5 -y swap ffmpeg-free ffmpeg --allowerasing
|
||||||
|
|
||||||
@@ -13,6 +16,11 @@ dnf5 -y install \
|
|||||||
gstreamer1-plugins-bad-free-extras \
|
gstreamer1-plugins-bad-free-extras \
|
||||||
gstreamer1-vaapi
|
gstreamer1-vaapi
|
||||||
|
|
||||||
|
# install steam
|
||||||
|
dnf5 -y install steam
|
||||||
|
|
||||||
# Hardware codec with amd
|
# Hardware codec with amd
|
||||||
dnf5 -y swap mesa-va-drivers mesa-va-drivers-freeworld
|
dnf5 -y swap mesa-va-drivers mesa-va-drivers-freeworld
|
||||||
dnf5 -y swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld
|
dnf5 -y swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld
|
||||||
|
|
||||||
|
rm -f /etc/yum.repos.d/rpmfusion-*\.repo
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -ouex pipefail
|
|
||||||
|
|
||||||
# Enable rpm fusion free and nonfree
|
|
||||||
dnf5 -y install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
|
||||||
Reference in New Issue
Block a user