From 11c49601573e2c0df64985451c66285bb5c70076 Mon Sep 17 00:00:00 2001 From: Anders Rytter Hansen Date: Sun, 15 Oct 2023 16:18:33 +0200 Subject: [PATCH] move teamviewer into /usr/lib/opt/ --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6f4e4bf..152d7ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,7 +53,8 @@ sed -i 's/#AutomaticUpdatePolicy.*/AutomaticUpdatePolicy=stage/' /etc/rpm-ostree 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 +RUN rpm-ostree install https://download.teamviewer.com/download/linux/teamviewer.x86_64.rpm && \ +mv "/opt/teamviewer" /usr/lib/opt/ # Change ZRAM max to 16GB RUN sed -i 's/zram-size.*/zram-size = min(ram, 16384)/' /usr/lib/systemd/zram-generator.conf