core: fix volume permissions on runtime.

it led once to permission issues where the UID changed after rebuild.
This commit is contained in:
chandi 2020-05-16 15:54:48 +02:00
parent 0fca1359f6
commit 01c7de4bef
2 changed files with 2 additions and 2 deletions

View File

@ -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 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 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 COPY entrypoint.sh /entrypoint.sh

View File

@ -15,6 +15,8 @@ mkdir -p /var/bigbluebutton/published
mkdir -p /var/bigbluebutton/deleted mkdir -p /var/bigbluebutton/deleted
mkdir -p /var/bigbluebutton/unpublished mkdir -p /var/bigbluebutton/unpublished
# -- fix directory permissions
RUN chown bigbluebutton:bigbluebutton /var/bigbluebutton
dockerize \ dockerize \
-template /opt/freeswitch/conf/vars.xml.tmpl:/opt/freeswitch/conf/vars.xml \ -template /opt/freeswitch/conf/vars.xml.tmpl:/opt/freeswitch/conf/vars.xml \