From 01c7de4beff6e400cd1c5744dc78911dc86911ad Mon Sep 17 00:00:00 2001 From: chandi Date: Sat, 16 May 2020 15:54:48 +0200 Subject: [PATCH] core: fix volume permissions on runtime. it led once to permission issues where the UID changed after rebuild. --- mod/core/Dockerfile | 2 -- mod/core/entrypoint.sh | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/core/Dockerfile b/mod/core/Dockerfile index 381c04d..7778251 100644 --- a/mod/core/Dockerfile +++ b/mod/core/Dockerfile @@ -58,8 +58,6 @@ RUN find /etc/systemd/ | grep wants | xargs -r -n 1 basename | grep service | gr RUN systemctl disable systemd-journal-flush systemd-update-utmp.service RUN systemctl enable red5 freeswitch bbb-apps-akka bbb-transcode-akka bbb-fsesl-akka bbb-web # bbb-rap-caption-inbox -# -- fix directory permissions -RUN chown bigbluebutton:bigbluebutton /var/bigbluebutton COPY entrypoint.sh /entrypoint.sh diff --git a/mod/core/entrypoint.sh b/mod/core/entrypoint.sh index 516c39d..28c4428 100755 --- a/mod/core/entrypoint.sh +++ b/mod/core/entrypoint.sh @@ -15,6 +15,8 @@ mkdir -p /var/bigbluebutton/published mkdir -p /var/bigbluebutton/deleted mkdir -p /var/bigbluebutton/unpublished +# -- fix directory permissions +RUN chown bigbluebutton:bigbluebutton /var/bigbluebutton dockerize \ -template /opt/freeswitch/conf/vars.xml.tmpl:/opt/freeswitch/conf/vars.xml \