From 4854bce49ac81b73cb9c63c987027f27308ded4c Mon Sep 17 00:00:00 2001 From: cardinalit Date: Wed, 16 Dec 2020 17:38:09 +0300 Subject: [PATCH] =?UTF-8?q?[*]=20Fixed=20iss#63=20=E2=80=94=20Unable=20to?= =?UTF-8?q?=20delete=20recording?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mod/recordings/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mod/recordings/Dockerfile b/mod/recordings/Dockerfile index 4a1485d..e7f2e13 100644 --- a/mod/recordings/Dockerfile +++ b/mod/recordings/Dockerfile @@ -75,10 +75,17 @@ RUN cd /usr/bin \ # create user # the ID should match the one creating the files in `core` RUN groupadd -g 998 bigbluebutton && useradd -m -u 998 -g bigbluebutton bigbluebutton +# change owner +# https://github.com/alangecker/bigbluebutton-docker/issues/63 +RUN chown -R 998:998 /usr/local/bigbluebutton /var/log/bigbluebutton COPY bigbluebutton.yml /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml.tmpl ADD log-collector.py /log-collector.py ADD entrypoint.sh /entrypoint.sh + +# change user before entrypoint +USER bigbluebutton + ENTRYPOINT dockerize \ -template /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml.tmpl:/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml \ /entrypoint.sh \ No newline at end of file