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 \
|
||||
--mount=type=cache,dst=/var/cache/ \
|
||||
--mount=type=tmpfs,dst=/tmp \
|
||||
/ctx/dnfstart.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
|
||||
/ctx/dnf/rpmfusion.sh
|
||||
|
||||
RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
|
||||
--mount=type=cache,dst=/var/cache/ \
|
||||
@@ -92,4 +87,4 @@ RUN --mount=type=bind,from=ctx,source=/,target=/ctx \
|
||||
|
||||
### LINTING
|
||||
## Verify final image and contents are correct.
|
||||
RUN bootc container lint
|
||||
RUN bootc container lint
|
||||
@@ -5,8 +5,6 @@ set -ouex pipefail
|
||||
### Cleanup
|
||||
dnf5 clean all
|
||||
|
||||
rm -f /etc/yum.repos.d/rpmfusion-*\.repo
|
||||
|
||||
rm -rf /usr/etc
|
||||
|
||||
rm -rf /var/lib/dnf
|
||||
|
||||
@@ -22,7 +22,6 @@ dnf5 -y install \
|
||||
btop \
|
||||
zsh \
|
||||
zoxide \
|
||||
steam \
|
||||
gamescope \
|
||||
mangohud
|
||||
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
|
||||
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
|
||||
dnf5 -y swap ffmpeg-free ffmpeg --allowerasing
|
||||
|
||||
@@ -13,6 +16,11 @@ dnf5 -y install \
|
||||
gstreamer1-plugins-bad-free-extras \
|
||||
gstreamer1-vaapi
|
||||
|
||||
# install steam
|
||||
dnf5 -y install steam
|
||||
|
||||
# Hardware codec with amd
|
||||
dnf5 -y swap mesa-va-drivers mesa-va-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