From bc36ce9aab2b203406a66d1cbb6ed2228a006a59 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Wed, 6 Nov 2024 16:12:36 +0100 Subject: [PATCH] fix some issues Signed-off-by: Simon L. --- Containers/talk-recording/Dockerfile | 4 ++-- Containers/whiteboard/Dockerfile | 4 ++-- manual-install/latest.yml | 2 +- php/containers.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Containers/talk-recording/Dockerfile b/Containers/talk-recording/Dockerfile index 945b1d73afd..01841d6a1b4 100644 --- a/Containers/talk-recording/Dockerfile +++ b/Containers/talk-recording/Dockerfile @@ -28,7 +28,7 @@ RUN set -ex; \ build-base \ linux-headers \ geckodriver; \ - useradd -d /tmp --system recording -u 1000; \ + useradd -d /tmp --system recording -u 122; \ # Give root a random password echo "root:$(openssl rand -base64 12)" | chpasswd; \ git clone --recursive https://github.com/nextcloud/nextcloud-talk-recording --depth=1 --single-branch --branch "$RECORDING_VERSION" /src; \ @@ -49,7 +49,7 @@ RUN set -ex; \ linux-headers; WORKDIR /tmp -USER 1000 +USER 122 ENTRYPOINT ["/start.sh"] CMD ["python", "-m", "nextcloud.talk.recording", "--config", "/conf/recording.conf"] diff --git a/Containers/whiteboard/Dockerfile b/Containers/whiteboard/Dockerfile index 83b6e8b18c7..c4446756fc8 100644 --- a/Containers/whiteboard/Dockerfile +++ b/Containers/whiteboard/Dockerfile @@ -1,11 +1,11 @@ # syntax=docker/dockerfile:latest FROM ghcr.io/nextcloud-releases/whiteboard:v1.0.4 -USER 65534 +USER root RUN set -ex; \ apk upgrade --no-cache -a; \ apk add --no-cache bash -USER nobody +USER 65534 COPY --chmod=775 start.sh /start.sh diff --git a/manual-install/latest.yml b/manual-install/latest.yml index 5276d8ad4b8..a88066a4ff3 100644 --- a/manual-install/latest.yml +++ b/manual-install/latest.yml @@ -255,7 +255,7 @@ services: nextcloud-aio-talk-recording: image: nextcloud/aio-talk-recording:latest - user: 1000 + user: 122 init: true expose: - "1234" diff --git a/php/containers.json b/php/containers.json index 6da70bccb0b..4bd37281cbd 100644 --- a/php/containers.json +++ b/php/containers.json @@ -428,7 +428,7 @@ "image_tag": "%AIO_CHANNEL%", "display_name": "Talk Recording", "image": "nextcloud/aio-talk-recording", - "user": 1000, + "user": 122, "init": true, "expose": [ "1234"