my-ostree-OS/Dockerfile

40 lines
1.8 KiB
Text
Raw Normal View History

FROM quay.io/almalinuxorg/atomic-desktop-kde:10
ARG KERNEL=kernel-cachyos-lto-skylake-test
ENV KERNEL=${KERNEL}
# 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.
ADD "https://copr.fedorainfracloud.org/api_3/build/list?ownername=andersrh&projectname=my-ostree-os&packagename=kernel-cachyos-lto-skylake-test" /tmp/builds.txt
COPY repo/*.repo /etc/yum.repos.d/
2024-09-24 22:08:31 +02:00
RUN dnf install -y ${KERNEL} ${KERNEL}-devel-matched
2024-09-24 22:08:31 +02:00
RUN dnf remove -y kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra kernel-tools kernel-tools-libs
2024-09-24 22:08:31 +02:00
RUN dnf upgrade -y
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
RUN dnf install -y https://github.com/TheAssassin/AppImageLauncher/releases/download/v2.2.0/appimagelauncher-2.2.0-travis995.0f91801.x86_64.rpm
RUN dnf install -y waydroid scx-scheds
# 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
# Add rule to SELinux allowing modules to be loaded into custom kernel
RUN setsebool -P domain_kernel_load_modules on
COPY etc/environment /etc/environment
2025-08-05 11:06:52 -03:00
COPY etc/systemd/zram-generator.conf /etc/systemd/zram-generator.conf
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