From 08bcf0e09bef909cfb0f0b1239d5516a954107a7 Mon Sep 17 00:00:00 2001 From: Anders Rytter Hansen Date: Fri, 3 May 2024 16:23:57 +0200 Subject: [PATCH] Disable automatic updates --- Dockerfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index c4db7a3..072f2c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,18 +14,13 @@ RUN wget https://copr.fedorainfracloud.org/coprs/andersrh/my-ostree-os/repo/fedo rpm-ostree install ksshaskpass cronie distrobox fish flatpak-builder libcap-ng-devel libvirt-daemon-driver-lxc libvirt-daemon-lxc lld nvtop procps-ng-devel seadrive-gui virt-manager kerver pulseaudio-utils hfsplus-tools VirtualBox && \ # install Mullvad VPN mkdir /var/opt && rpm-ostree install https://mullvad.net/da/download/app/rpm/latest && \ -mv "/opt/Mullvad VPN" /usr/lib/opt/ && \ -# enable automatic updates -sed -i 's/#AutomaticUpdatePolicy.*/AutomaticUpdatePolicy=stage/' /etc/rpm-ostreed.conf && \ -# change auto update interval -sed -i 's/OnUnitInactiveSec.*/OnUnitInactiveSec=1h\nOnCalendar=*-*-* 06:40:00\nPersistent=true/' /usr/lib/systemd/system/rpm-ostreed-automatic.timer +mv "/opt/Mullvad VPN" /usr/lib/opt/ # Install TeamViewer RUN rpm-ostree install https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm && \ mv "/opt/teamviewer" /usr/lib/opt/ # Disable Teamviewerd by default RUN systemctl disable teamviewerd -RUN systemctl enable rpm-ostreed-automatic.timer # Change ZRAM max to 16GB RUN sed -i 's/zram-size.*/zram-size = min(ram, 16384)/' /usr/lib/systemd/zram-generator.conf