2020-12-23 21:21:48 +01:00
|
|
|
FROM etherpad/etherpad:1.8.7
|
2020-05-31 11:27:32 +02:00
|
|
|
|
|
|
|
USER root
|
|
|
|
|
|
|
|
RUN apt-get update \
|
2020-10-21 19:26:01 +02:00
|
|
|
&& apt-get install -y git
|
2020-05-31 11:27:32 +02:00
|
|
|
|
2020-10-21 19:26:01 +02:00
|
|
|
USER etherpad
|
2020-05-31 11:27:32 +02:00
|
|
|
|
2020-10-21 19:26:01 +02:00
|
|
|
RUN npm install \
|
|
|
|
ep_delete_after_delay_lite \
|
|
|
|
git+https://git@github.com/pedrobmarin/ep_redis_publisher.git
|
2020-05-31 11:27:32 +02:00
|
|
|
|
2020-10-21 19:26:01 +02:00
|
|
|
# add skin from git submodule
|
|
|
|
COPY --chown=etherpad:0 ./bbb-etherpad-skin /opt/etherpad-lite/src/static/skins/bigbluebutton
|
|
|
|
|
|
|
|
# add plugin from git submodule
|
|
|
|
COPY --chown=etherpad:0 ./bbb-etherpad-plugin /opt/etherpad-lite/node_modules/ep_bigbluebutton_patches
|
|
|
|
|
|
|
|
COPY settings.json /opt/etherpad-lite/settings.json
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
2020-05-31 11:27:32 +02:00
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|