forked from extern/docker
[*] Fixed iss#63 — Unable to delete recording
This commit is contained in:
parent
0b90a2024b
commit
4854bce49a
@ -75,10 +75,17 @@ RUN cd /usr/bin \
|
|||||||
# create user
|
# create user
|
||||||
# the ID should match the one creating the files in `core`
|
# the ID should match the one creating the files in `core`
|
||||||
RUN groupadd -g 998 bigbluebutton && useradd -m -u 998 -g bigbluebutton bigbluebutton
|
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
|
COPY bigbluebutton.yml /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml.tmpl
|
||||||
ADD log-collector.py /log-collector.py
|
ADD log-collector.py /log-collector.py
|
||||||
ADD entrypoint.sh /entrypoint.sh
|
ADD entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
# change user before entrypoint
|
||||||
|
USER bigbluebutton
|
||||||
|
|
||||||
ENTRYPOINT dockerize \
|
ENTRYPOINT dockerize \
|
||||||
-template /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml.tmpl:/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml \
|
-template /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml.tmpl:/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml \
|
||||||
/entrypoint.sh
|
/entrypoint.sh
|
Loading…
Reference in New Issue
Block a user