2025-08-05 11:10:34 -03:00
FROM quay.io/almalinuxorg/atomic-desktop-kde:10
2024-10-21 22:14:26 +02:00
2026-02-27 09:27:47 -03:00
ARG KERNEL=kernel-cachyos
2026-02-26 19:02:23 -03:00
ENV KERNEL=${KERNEL}
2026-02-10 21:59:19 -03:00
RUN echo 'omit_drivers+=" nouveau "' | tee /etc/dracut.conf.d/blacklist-nouveau.conf
2025-12-01 08:46:15 -03:00
COPY bin/set_next_version.sh /tmp
RUN /tmp/set_next_version.sh
2025-07-31 00:41:47 -03:00
COPY repo/*.repo /etc/yum.repos.d/
2025-12-08 13:42:15 -03:00
RUN dnf config-manager --add-repo=https://negativo17.org/repos/epel-nvidia-580.repo -y
2024-09-24 22:08:31 +02:00
2026-01-21 11:06:42 -03:00
RUN dnf install --nogpgcheck -y https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm
RUN dnf install -y fish distrobox nvtop intel-media-driver libva-intel-driver htop
RUN dnf install -y https://github.com/TheAssassin/AppImageLauncher/releases/download/v2.2.0/appimagelauncher-2.2.0-travis995.0f91801.x86_64.rpm
2026-02-26 19:02:23 -03:00
# Enable CachyOS repositories
2026-02-27 09:27:47 -03:00
RUN dnf copr enable bieszczaders/kernel-cachyos -y
2026-02-26 19:02:23 -03:00
2026-02-27 17:27:39 -03:00
# Enable CachyOS addons EL10 fork repo
RUN dnf copr enable andersrh/kernel-cachyos-addons-el10 -y
2026-02-26 19:02:23 -03:00
RUN dnf install -y ${KERNEL} ${KERNEL}-devel-matched
2026-02-10 21:59:19 -03:00
2026-02-26 19:02:23 -03:00
RUN dnf remove -y kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra kernel-tools kernel-tools-libs
# Install Negativo17 Nvidia driver
RUN dnf install -y dkms-nvidia nvidia-driver nvidia-persistenced opencl-filesystem libva-nvidia-driver
2025-11-07 23:31:08 -03:00
2026-02-26 19:02:23 -03:00
RUN dkms install nvidia/$(ls /usr/src/ | grep nvidia- | cut -d- -f2-) -k $(rpm -q --queryformat "%{VERSION}-%{RELEASE}.%{ARCH}\n" ${KERNEL})
2026-02-10 21:59:19 -03:00
2025-09-02 14:20:46 -03:00
RUN dnf install -y waydroid scx-scheds
2025-07-31 00:41:47 -03:00
2025-07-31 21:53:09 -03:00
# Remove plocate to avoid updatedb going crazy with scanning the file system once a day
RUN dnf remove -y plocate
2025-08-07 12:38:59 -03:00
# Install Mullvad VPN client
RUN rpm -Uvh --nodeps https://mullvad.net/da/download/app/rpm/latest
2025-11-14 18:58:37 -03:00
# Install libheif-freeworld to show thumbnails in Dolphin
RUN dnf install libheif-freeworld -y
# Install proprietary codecs
RUN dnf swap libavcodec-free libavcodec-freeworld --allowerasing -y
2026-02-06 10:36:56 -03:00
# Install HPLIP for HP printer support
RUN dnf install hplip -y
RUN dnf -y install gwenview kalk okular
2025-12-02 13:25:09 -03:00
RUN dnf -y install chromium
2025-12-01 09:47:58 -03:00
# Delete default Chromium config so it can be replaced by my own
RUN rm -f /etc/chromium/chromium.conf
2025-12-01 08:46:15 -03:00
2025-08-03 00:08:06 -03:00
# Add rule to SELinux allowing modules to be loaded into custom kernel
RUN setsebool -P domain_kernel_load_modules on
2025-11-16 22:32:52 -03:00
RUN dnf config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo
RUN dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
2025-12-04 11:35:20 -03:00
2025-12-08 17:19:48 -03:00
RUN dnf install firefox thunderbird -y
2025-12-04 11:35:20 -03:00
2025-12-04 17:15:09 -03:00
RUN rm -f /usr/lib64/libopenh264.so.2.4.1 /usr/lib64/libopenh264.so.7
RUN rpm -Uvh --nodeps https://codecs.fedoraproject.org/openh264/42/x86_64/Packages/o/openh264-2.5.1-1.fc42.x86_64.rpm https://codecs.fedoraproject.org/openh264/42/x86_64/Packages/m/mozilla-openh264-2.5.1-1.fc42.x86_64.rpm
2026-01-15 19:52:45 -03:00
# Install Thorium
2026-02-27 17:27:39 -03:00
RUN dnf install -y https://github.com/Alex313031/thorium/releases/download/M138.0.7204.303/thorium-browser_138.0.7204.303_AVX2.rpm
2026-01-15 19:52:45 -03:00
2026-01-23 11:33:26 -03:00
RUN dnf copr enable yselkowitz/xfce-epel -y
2026-02-09 16:24:55 -03:00
RUN cd /etc/yum.repos.d && wget https://copr.fedorainfracloud.org/coprs/g/xlibre/xlibre-xserver/repo/rhel+epel-10/group_xlibre-xlibre-xserver-rhel+epel-10.repo
2026-01-23 11:33:26 -03:00
2026-03-04 15:59:41 -03:00
RUN dnf install xlibre-xserver-Xorg xlibre-xserver-devel xinput meson gcc cmake libX11-devel libXext-devel libXft-devel libXinerama-devel xorg-x11-proto-devel libxshmfence-devel libxkbfile-devel libbsd-devel libXfont2-devel xkbcomp libfontenc-devel libXres-devel libXdmcp-devel dbus-devel systemd-devel libudev-devel libxcvt-devel libdrm-devel libXv-devel libseat-devel libXv-devel xkbcomp xkeyboard-config-devel mesa-libGL-devel mesa-libEGL-devel libepoxy-devel mesa-libgbm-devel libdrm-devel xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel xcb-util-wm-devel xcb-util-renderutil-devel openssl-devel libXau-devel libXdmcp-devel libSM-devel libICE-devel startup-notification-devel libgtop2-devel libepoxy-devel libgudev-devel libwnck3-devel.x86_64 libdisplay-info-devel.x86_64 libnotify-devel.x86_64 upower-devel.x86_64 iceauth libICE-devel libSM-devel libXpresent-devel libyaml-devel vte291-devel gtk3-devel xorg-x11-xinit xlibre-xf86-input-libinput-devel xlibre-xf86-input-libinput \
2026-02-26 19:02:23 -03:00
libXScrnSaver-devel libxklavier-devel pam-devel gcc-c++ dbus-glib-devel libtool gettext-devel gstreamer1-devel sqlite-devel pavucontrol pulseaudio-libs-devel weston cage network-manager-applet redshift blueman -y
2026-01-27 00:01:59 -03:00
2026-01-26 16:39:20 -03:00
RUN mkdir /tmp/xfce
WORKDIR /tmp/xfce
ADD https://archive.xfce.org/xfce/4.20/fat_tarballs/xfce-4.20.tar.bz2 ./
RUN tar -xjf xfce-4.20.tar.bz2
WORKDIR /tmp/xfce/src
COPY buildinstallxfce.sh ./
RUN chmod +x buildinstallxfce.sh && ./buildinstallxfce.sh
2026-01-23 11:33:26 -03:00
2026-01-27 10:52:11 -03:00
ADD https://archive.xfce.org/src/apps/xfce4-mixer/4.20/xfce4-mixer-4.20.0.tar.xz ./
2026-01-27 11:54:28 -03:00
ADD https://archive.xfce.org/src/apps/xfce4-notifyd/0.9/xfce4-notifyd-0.9.7.tar.bz2 ./
ADD https://archive.xfce.org/src/panel-plugins/xfce4-clipman-plugin/1.7/xfce4-clipman-plugin-1.7.0.tar.xz ./
2026-01-27 19:45:15 -03:00
ADD https://archive.xfce.org/src/panel-plugins/xfce4-pulseaudio-plugin/0.5/xfce4-pulseaudio-plugin-0.5.1.tar.xz ./
2026-01-29 11:03:51 -03:00
ADD https://archive.xfce.org/src/panel-plugins/xfce4-whiskermenu-plugin/2.10/xfce4-whiskermenu-plugin-2.10.0.tar.xz ./
2026-01-29 11:33:09 -03:00
ADD https://archive.xfce.org/src/panel-plugins/xfce4-stopwatch-plugin/0.6/xfce4-stopwatch-plugin-0.6.0.tar.xz ./
ADD https://archive.xfce.org/src/apps/xfce4-screensaver/4.20/xfce4-screensaver-4.20.1.tar.xz ./
2026-01-27 10:52:11 -03:00
COPY buildinstallxfceaddons.sh ./
RUN chmod +x buildinstallxfceaddons.sh && ./buildinstallxfceaddons.sh
2026-02-27 18:30:45 -03:00
RUN dnf install ananicy-cpp cachyos-ananicy-rules cachyos-settings -y \
&& systemctl enable ananicy-cpp
2026-01-29 13:34:13 -03:00
2026-02-11 17:38:51 -03:00
RUN dnf install xscreensaver -y
2026-02-20 01:47:47 -03:00
# Install VLC
RUN dnf install vlc vlc-plugins-freeworld vlc-plugin-pipewire -y
2025-11-16 22:32:52 -03:00
RUN systemctl enable docker
2026-02-26 21:27:07 -03:00
RUN systemctl disable scx_loader
2025-11-16 22:32:52 -03:00
2025-10-07 17:37:08 -03:00
COPY etc /etc
2025-10-07 17:14:31 -03:00
COPY usr /usr
2025-08-03 00:55:27 -03:00
2025-10-07 17:37:08 -03:00
RUN systemctl enable waydroid-choose-intel-gpu.service
2025-08-18 22:20:48 -03:00
RUN cd /usr/bin && wget https://raw.githubusercontent.com/CachyOS/CachyOS-Settings/refs/heads/master/usr/bin/kerver && chmod +x kerver
2026-01-26 18:08:33 -03:00
RUN rm -rf /tmp/* /var/* && mkdir -p /var/tmp && chmod -R 1777 /var/tmp && \
2026-02-26 19:02:23 -03:00
bootc container lint