Compare commits

..
10 Commits
Author SHA1 Message Date
ben 6f36b03855 Steam tweaks & fixing mesa-vulkan-drivers for asus
Build / supermicro-x10drh (push) Canceled after 0s
Build / workstation-nvidia-base (push) Canceled after 0s
Build / asrock-x570 (push) Canceled after 0s
Build / lenovo-16arh7h (push) Canceled after 0s
2026-07-15 15:54:39 -04:00
ben c79d8cf361 Adding asusctl to ga402r 2026-07-08 00:13:27 -04:00
ben 73b7efecde Adding terra key for asusctl 2026-07-08 00:03:58 -04:00
ben e712272b4d Removing cinnamon from workstation & adding ASUS-GA402R 2026-07-07 12:09:57 -04:00
ben 14eab6ee34 Rolling back nvidia driver to 580 for the near future 2026-07-05 13:46:33 -04:00
ben 25a2463c23 Fixing upgrade issues, upgrading server to f44 2026-07-04 21:12:29 -04:00
ben 358a730612 Attempt to upgrade main machines to f44 2026-07-04 19:48:51 -04:00
ben 98adca9a64 Adding lenovo 15igl05 2026-06-14 10:13:24 -04:00
ben 15439af360 Resetting 'from' directives 2026-06-06 11:34:33 -04:00
ben 3e7c16ad95 Updating gpg-pubkey count on both asrock and lenovo 2026-05-07 15:24:36 -04:00
8 changed files with 144 additions and 26 deletions

No files matched your search

+4 -3
View File
@@ -1,4 +1,4 @@
FROM ghcr.io/benradey/workstation-nvidia-base:latest
FROM git.radey.org/ben/workstation-nvidia-base:latest
RUN dnf5 install -y \
inotify-tools && \
@@ -10,11 +10,12 @@ RUN echo "%_without_kmod_nvidia_detect 1" > /etc/rpm/macros.nvidia-kmod && \
chmod 777 /var/tmp && \
/usr/sbin/akmods --force --kernels "$(rpm -qa kernel --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
# The first check makes sure that we have exactly 4 gpg pubkeys trusted in the rpmdb (the ones from the base image).
# The first check makes sure that we have exactly 10 gpg pubkeys trusted in the rpmdb (the ones manually imported above) (Brave adds 6, apparently?).
# Any more than that means that dnf automatically added a new one, which is shady!
# Then: cleanup image for linting
# Finally: verify image is good
# FIXME - remove the `--skip nonempty-run-tmp` when it's no longer needed
RUN [[ 4 -eq $(rpm -qa gpg-pubkey* | wc -l) ]] && \
RUN [[ 11 -eq $(rpm -qa gpg-pubkey* | wc -l) ]] && \
rm -rf /var /boot && mkdir /var /boot && \
bootc container lint --fatal-warnings --skip nonempty-run-tmp
+61
View File
@@ -0,0 +1,61 @@
FROM quay.io/fedora/fedora-silverblue:44
COPY gpg-keys/* /keys/
RUN wget -O /etc/udev/rules.d/42-logitech-unify-permissions.rules https://raw.githubusercontent.com/pwr-Solaar/Solaar/refs/heads/master/rules.d-uinput/42-logitech-unify-permissions.rules && \
rpm --import \
/keys/RPM-GPG-KEY-rpmfusion-free-fedora-2020 \
/keys/RPM-GPG-KEY-rpmfusion-nonfree-fedora-2020 \
/keys/brave-core.asc \
/keys/terra.asc \
/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-44-x86_64 && \
rm -rf /keys && \
dnf5 install -y 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 && \
curl -fsSLo /etc/yum.repos.d/brave-browser.repo https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo && \
curl -fsSLo /etc/yum.repos.d/terra.repo https://github.com/terrapkg/subatomic-repos/raw/main/terra.repo && \
mkdir /var/opt /usr/brave.com && \
ln -s /usr/brave.com /var/opt/brave.com && \
echo "L /var/opt/brave.com - - - - /usr/brave.com" >> /usr/lib/tmpfiles.d/brave.conf && \
dnf5 install -y \
asusctl \
asusctl-rog-gui \
brave-browser \
distrobox \
fuse-sshfs \
geany \
gnome-extensions-app \
gnome-shell-extension-dash-to-panel \
gnome-tweaks \
htop \
iftop \
iotop \
libavcodec-freeworld \
libva-utils \
mesa-va-drivers-freeworld \
steam \
syncthing \
terra-release \
vdpauinfo \
vim \
vulkan-tools && \
dnf5 swap -y ffmpeg-free ffmpeg --allowerasing && \
dnf5 swap -y mesa-vulkan-drivers mesa-vulkan-drivers-freeworld --allowerasing && \
dnf5 swap -y tuned-ppd power-profiles-daemon --allowerasing && \
dnf5 clean all && \
sed -i '/^PrefersNonDefaultGPU=/d' /usr/share/applications/steam.desktop && \
sed -i '/^X-KDE-RunOnDiscreteGpu=/d' /usr/share/applications/steam.desktop
# The first check makes sure that we have exactly 10 gpg pubkeys trusted in the rpmdb (the ones manually imported above) (Brave adds 6, apparently?).
# Any more than that means that dnf automatically added a new one, which is shady!
# Then: cleanup image for linting
# Finally: verify image is good
# FIXME - remove the `--skip nonempty-run-tmp` when it's no longer needed
RUN echo "" && \
echo "Expecting 10 keys to follow this line!" && \
rpm -qa gpg-pubkey* && \
echo "" && \
[[ 10 -eq $(rpm -qa gpg-pubkey* | wc -l) ]] && \
rm -rf /var /boot && mkdir /var /boot && \
bootc container lint --fatal-warnings --skip nonempty-run-tmp
+38
View File
@@ -0,0 +1,38 @@
FROM quay.io/fedora/fedora-silverblue:44
COPY gpg-keys/* /keys/
RUN wget -O /etc/udev/rules.d/42-logitech-unify-permissions.rules https://raw.githubusercontent.com/pwr-Solaar/Solaar/refs/heads/master/rules.d-uinput/42-logitech-unify-permissions.rules
RUN rpm --import \
/keys/RPM-GPG-KEY-rpmfusion-free-fedora-2020 \
/keys/RPM-GPG-KEY-rpmfusion-nonfree-fedora-2020 \
/keys/brave-core.asc \
/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-44-x86_64 && \
rm -rf /keys && \
dnf5 install -y 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 && \
curl -fsSLo /etc/yum.repos.d/brave-browser.repo https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo && \
mkdir /var/opt /usr/brave.com && \
ln -s /usr/brave.com /var/opt/brave.com && \
echo "L /var/opt/brave.com - - - - /usr/brave.com" >> /usr/lib/tmpfiles.d/brave.conf && \
dnf5 install -y \
brave-browser \
geany \
gnome-extensions-app \
gnome-shell-extension-dash-to-panel \
gnome-terminal \
gnome-tweaks \
vim && \
dnf5 swap -y ffmpeg-free ffmpeg --allowerasing && \
dnf5 clean all
# The first check makes sure that we have exactly 9 gpg pubkeys trusted in the rpmdb (the ones manually imported above) (Brave adds 6, apparently?).
# Any more than that means that dnf automatically added a new one, which is shady!
# Then: cleanup image for linting
# Finally: verify image is good
# FIXME - remove the `--skip nonempty-run-tmp` when it's no longer needed
RUN rpm -qa gpg-pubkey*
RUN [[ 9 -eq $(rpm -qa gpg-pubkey* | wc -l) ]] && \
rm -rf /var /boot && mkdir /var /boot && \
bootc container lint --fatal-warnings --skip nonempty-run-tmp
+4 -3
View File
@@ -1,4 +1,4 @@
FROM ghcr.io/benradey/workstation-nvidia-base:latest
FROM git.radey.org/ben/workstation-nvidia-base:latest
# Build nvidia akmod with no special arguments - defaults to open kernel driver for newer hardware
RUN mkdir -p /var/log/akmods /var/cache/akmods/nvidia /var/tmp && \
@@ -24,11 +24,12 @@ RUN git clone https://github.com/johnfanv2/LenovoLegionLinux.git && \
echo legion-laptop > /etc/modules-load.d/legion_laptop.conf && \
rm -rf LenovoLegionLinux
# The first check makes sure that we have exactly 4 gpg pubkeys trusted in the rpmdb (the ones from the base image).
# The first check makes sure that we have exactly 10 gpg pubkeys trusted in the rpmdb (the ones manually imported above) (Brave adds 6, apparently?).
# Any more than that means that dnf automatically added a new one, which is shady!
# Then: cleanup image for linting
# Finally: verify image is good
# FIXME - remove the `--skip nonempty-run-tmp` when it's no longer needed
RUN [[ 4 -eq $(rpm -qa gpg-pubkey* | wc -l) ]] && \
RUN [[ 11 -eq $(rpm -qa gpg-pubkey* | wc -l) ]] && \
rm -rf /var /boot && mkdir /var /boot && \
bootc container lint --fatal-warnings --skip nonempty-run-tmp
+5 -4
View File
@@ -1,5 +1,5 @@
# ====== Stage 1: Builder image ======
FROM fedora:latest AS builder
FROM registry.fedoraproject.org/fedora:latest AS builder
RUN dnf5 update -y && dnf install -y git golang
@@ -10,7 +10,7 @@ WORKDIR /gocryptfs
RUN ./build-without-openssl.bash
# ====== Stage 2: Server image ======
FROM quay.io/fedora/fedora-silverblue:43
FROM quay.io/fedora/fedora-silverblue:44
COPY --from=builder /gocryptfs/gocryptfs /usr/bin/gocryptfs
@@ -24,9 +24,9 @@ RUN rpm --import \
/keys/zrepl-rpm-pkgs \
/keys/RPM-GPG-KEY-rpmfusion-free-fedora-2020 \
/keys/RPM-GPG-KEY-rpmfusion-nonfree-fedora-2020 \
/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-43-x86_64 && \
/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-44-x86_64 && \
rm -rf /keys && \
dnf5 install -y https://github.com/zfsonlinux/zfsonlinux.github.com/raw/master/fedora/zfs-release-3-0$(rpm --eval "%{dist}").noarch.rpm \
dnf5 install -y https://github.com/zfsonlinux/zfsonlinux.github.com/raw/master/fedora/zfs-release-3-1$(rpm --eval "%{dist}").noarch.rpm \
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 && \
dnf5 install -y \
@@ -106,3 +106,4 @@ RUN test -f /usr/lib/sysusers.d/libvirt.conf || echo -e 'g libvirt 963' > /usr/l
RUN [[ 7 -eq $(rpm -qa gpg-pubkey* | wc -l) ]] && \
rm -rf /var /boot && mkdir /var /boot && \
bootc container lint --fatal-warnings --skip nonempty-run-tmp
+14 -12
View File
@@ -1,4 +1,4 @@
FROM quay.io/fedora/fedora-silverblue:43
FROM quay.io/fedora/fedora-silverblue:44
COPY gpg-keys/* /keys/
@@ -9,7 +9,7 @@ RUN rpm --import \
/keys/RPM-GPG-KEY-rpmfusion-free-fedora-2020 \
/keys/RPM-GPG-KEY-rpmfusion-nonfree-fedora-2020 \
/keys/brave-core.asc \
/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-43-x86_64 && \
/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-44-x86_64 && \
rm -rf /keys && \
dnf5 install -y 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 \
@@ -23,7 +23,6 @@ RUN rpm --import \
android-tools \
ansible \
brave-browser \
cinnamon \
distrobox \
fuse-sshfs \
geany \
@@ -31,7 +30,6 @@ RUN rpm --import \
gnome-extensions-app \
gnome-shell-extension-dash-to-panel \
gnome-terminal \
gnome-themes-extra \
gnome-tweaks \
htop \
iftop \
@@ -47,26 +45,30 @@ RUN rpm --import \
virt-manager \
vulkan-tools && \
dnf5 swap -y ffmpeg-free ffmpeg --allowerasing && \
dnf5 swap -y mesa-va-drivers mesa-va-drivers-freeworld && \
dnf5 swap -y mesa-vdpau-drivers mesa-vdpau-drivers-freeworld && \
dnf5 clean all
# TODO: Remove this `|| true` hack once post scriptlets no longer make dnf exit with non-zero
# FIXME: Sticking with the 580 driver because 595 does way too much thermal throttling on the Legion. Try the next major version (>595) when it's available to see if it's better.
RUN dnf5 install -y \
akmod-nvidia \
xorg-x11-drv-nvidia-cuda \
akmod-nvidia-580xx \
xorg-x11-drv-nvidia-580xx-cuda \
proton-vpn-gnome-desktop || true && \
dnf5 clean all
# TODO: Remove these unnecessary checks to make sure the packages above actually got installed. rpm exits non-zero if the package is not installed and aborts the Containerfile build
RUN rpm -q akmod-nvidia && \
rpm -q xorg-x11-drv-nvidia-cuda && \
RUN rpm -q akmod-nvidia-580xx && \
rpm -q xorg-x11-drv-nvidia-580xx-cuda && \
rpm -q proton-vpn-gnome-desktop
# The first check makes sure that we have exactly 10 gpg pubkeys trusted in the rpmdb (the ones manually imported above) (Brave adds 6, apparently?).
# The first check makes sure that we have exactly 11 gpg pubkeys trusted in the rpmdb (the ones manually imported above) (Brave adds 6, apparently?).
# Any more than that means that dnf automatically added a new one, which is shady!
# Then: cleanup image for linting
# Finally: verify image is good
# FIXME - remove the `--skip nonempty-run-tmp` when it's no longer needed
RUN [[ 10 -eq $(rpm -qa gpg-pubkey* | wc -l) ]] && \
RUN echo "" && \
echo "Expecting 11 keys to follow this line!" && \
rpm -qa gpg-pubkey* && \
echo "" && \
[[ 11 -eq $(rpm -qa gpg-pubkey* | wc -l) ]] && \
rm -rf /var /boot && mkdir /var /boot && \
bootc container lint --fatal-warnings --skip nonempty-run-tmp
+17
View File
@@ -0,0 +1,17 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GopenPGP 2.8.1
Comment: https://gopenpgp.org
xjMEaYpzVxYJKwYBBAHaRw8BAQdAb3DsTkfuyHxBUTJh9KY5K9Zmd3HHNlr3nr7j
DqIfJHbNIFRlcnJhIDQ0IDxzZWN1cml0eUBmeXJhbGFicy5jb20+wr8EExYIAHEF
gmmKc1cDCwkHCZAAzatD3iJtbzUUAAAAAAAcABBzYWx0QG5vdGF0aW9ucy5vcGVu
cGdwanMub3Jn6H9BnkxjSlvFTWI4j1lWagIVCAMWAAICGQECmwMCHgEWIQSuCRV6
TeiLSX6h1dMAzatD3iJtbwAAkxUA/AhjnPTnXX4U50jtWrE8/33CXkR/kMvp8y2m
jR9jrEzPAQCEA1Jx8eBbBo7RySbF1D8AoYGGvdy5Igmsz7/FCq4DAM44BGmKc1cS
CisGAQQBl1UBBQEBB0BKc0gRkEY9/IuABq32DNPxZN0AQo41geDGywcbV47JSQMB
CgnCrgQYFggAYAWCaYpzVwmQAM2rQ94ibW81FAAAAAAAHAAQc2FsdEBub3RhdGlv
bnMub3BlbnBncGpzLm9yZ8nm3oDFHJ/SnE3gwb0ZR04CmwwWIQSuCRV6TeiLSX6h
1dMAzatD3iJtbwAAjYoA/2P25j8wdGP/TdF4mhNiN/6cBNL08/wmqDTJooYy2GP+
AQCJp+Vj5nfTYUO7+6WvES4cFaaZJhY8CsjJwx6k8xhsCA==
=KXwo
-----END PGP PUBLIC KEY BLOCK-----
@@ -5,8 +5,6 @@ repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://nvidia.github.io/libnvidia-container/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
[nvidia-container-toolkit-experimental]
name=nvidia-container-toolkit-experimental
@@ -15,5 +13,4 @@ repo_gpgcheck=1
gpgcheck=0
enabled=0
gpgkey=https://nvidia.github.io/libnvidia-container/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt