2025-08-05 11:10:34 -03:00
FROM quay.io/almalinuxorg/atomic-desktop-kde:10
2025-11-08 14:02:16 -03:00
ARG CACHEBUST=1
2025-11-30 22:10:50 -03:00
2025-07-29 16:24:53 -03:00
# Get list of kernels from my repo. If the list has been updated, then the image will be rebuilt. If it hasn't been updated, then caching of the previous build will be used.
2025-11-07 17:24:48 -03:00
ADD "https://copr.fedorainfracloud.org/api_3/build/list?ownername=andersrh&projectname=my-ostree-os&packagename=kernel" /tmp/builds.txt
2024-10-21 22:14:26 +02:00
2025-11-15 01:53:45 -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-11-15 01:53:45 -03:00
RUN dnf config-manager --add-repo=https://negativo17.org/repos/epel-nvidia.repo -y
2024-09-24 22:08:31 +02:00
2025-11-07 23:36:11 -03:00
RUN dnf install -y $( \
2025-11-07 23:31:08 -03:00
dnf list --available kernel\* --disablerepo='*' --enablerepo=my-ostree-os-rhel-epel 2>/dev/null \
| grep 'andersdsrhcustom' \
| awk '{print $1 "-" $2}' \
| sort -V \
| tail -1 \
| sed 's/\.src//g' \
2025-11-15 02:08:20 -03:00
| sed 's/\.x86_64//g' \
2025-11-07 23:31:08 -03:00
)
2025-07-31 00:41:47 -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
2024-09-26 23:31:47 +02:00
2025-08-03 01:39:39 -03:00
RUN dnf install -y fish distrobox nvtop intel-media-driver libva-intel-driver
2025-07-31 00:41:47 -03:00
RUN dnf install -y https://github.com/TheAssassin/AppImageLauncher/releases/download/v2.2.0/appimagelauncher-2.2.0-travis995.0f91801.x86_64.rpm
2025-06-10 09:23:59 +02:00
2025-11-15 01:53:45 -03:00
# Install Negativo17 Nvidia driver
2025-11-15 02:00:58 -03:00
RUN dnf install -y dkms-nvidia nvidia-driver nvidia-persistenced opencl-filesystem libva-nvidia-driver kernel-devel-matched
2025-11-15 01:53:45 -03:00
RUN sed -i -e 's/kernel-open$/kernel/g' /etc/nvidia/kernel.conf
2025-11-15 01:55:06 -03:00
RUN dkms install nvidia/$(ls /usr/src/ | grep nvidia- | cut -d- -f2-) -k $(rpm -q --queryformat "%{VERSION}-%{RELEASE}.%{ARCH}\n" kernel)
2025-11-15 01:53:45 -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
2025-12-01 08:46:15 -03:00
RUN dnf -y install gwenview haruna kalk okular
RUN dnf -y --enablerepo=epel-next-minor install chromium
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
RUN systemctl enable docker
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
2025-07-29 19:06:23 -03:00
RUN rm -rf /tmp/* /var/* && mkdir -p /var/tmp && chmod -R 1777 /var/tmp && \
bootc container lint