From 4cc93298151128008c6b518029a0cbd8b5166fc1 Mon Sep 17 00:00:00 2001 From: Anders Rytter Hansen Date: Sun, 15 Oct 2023 15:31:41 +0200 Subject: [PATCH] add updatedb.conf, install TeamViewer and remove Kata containers --- Dockerfile | 5 +++-- etc/updatedb.conf | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 etc/updatedb.conf diff --git a/Dockerfile b/Dockerfile index 361c27a..6f4e4bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,8 +40,6 @@ rpm-ostree override remove libavcodec-free libavfilter-free libavformat-free lib rpm-ostree install ffmpeg ffmpeg-libs intel-media-driver pipewire-codec-aptx libva-intel-driver libva-utils mesa-va-drivers-freeworld && \ # install Pulseaudio utilities rpm-ostree install pulseaudio-utils && \ -# install Kata containers -rpm-ostree install kata-containers && \ # install Apple HFS+ tools rpm-ostree install hfsplus-tools && \ # install Nvidia software @@ -54,6 +52,9 @@ sed -i 's/#AutomaticUpdatePolicy.*/AutomaticUpdatePolicy=stage/' /etc/rpm-ostree # change auto update interval sed -i 's/OnUnitInactiveSec.*/OnUnitInactiveSec=1h\nOnCalendar=*-*-* 06:40:00\nPersistent=true/' /usr/lib/systemd/system/rpm-ostreed-automatic.timer +# Install TeamViewer +RUN rpm-ostree install https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm + # Change ZRAM max to 16GB RUN sed -i 's/zram-size.*/zram-size = min(ram, 16384)/' /usr/lib/systemd/zram-generator.conf diff --git a/etc/updatedb.conf b/etc/updatedb.conf new file mode 100644 index 0000000..7ea8aac --- /dev/null +++ b/etc/updatedb.conf @@ -0,0 +1,4 @@ +# https://bugzilla.redhat.com/show_bug.cgi?id=2033216 +PRUNEFS = "9p afs autofs binfmt_misc ceph cgroup cgroup2 cifs coda configfs curlftpfs debugfs devfs devpts devtmpfs ecryptfs ftpfs fuse.ceph fuse.cryfs fuse.encfs fuse.glusterfs fuse.gvfsd-fuse fuse.mfs fuse.rclone fuse.rozofs fuse.sshfs fusec fusesmb gfs gfs2 gpfs hugetlbfs iso9660 lustre lustre_lite mfs mqueue ncpfs nfs nfs4 ocfs ocfs2 proc pstore ramfs pstorefs rootfs rpc_pipefs securityfs smbfs sysfs tmpfs tracefs udev udf usbfs" +# https://bugzilla.redhat.com/show_bug.cgi?id=2097889 +PRUNEPATHS = "/tmp /media /dev /sys /proc /run /var/cache /var/spool /var/.snapshot.home"