2023-09-12 18:31:01 +02:00
|
|
|
FROM etherpad/etherpad:1.9.1
|
2020-05-31 11:27:32 +02:00
|
|
|
|
|
|
|
USER root
|
|
|
|
|
2023-09-12 18:31:01 +02:00
|
|
|
RUN apk add git curl
|
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
|
|
|
|
2023-09-12 18:31:01 +02:00
|
|
|
RUN npm install \
|
2022-05-22 18:12:25 +02:00
|
|
|
ep_cursortrace@3.1.16 \
|
2022-03-08 17:25:31 +01:00
|
|
|
git+https://github.com/mconf/ep_pad_ttl.git#360136cd38493dd698435631f2373cbb7089082d \
|
2023-09-12 18:31:01 +02:00
|
|
|
git+https://github.com/mconf/ep_redis_publisher.git#2b6e47c1c59362916a0b2961a29b259f2977b694 \
|
2022-05-22 18:12:25 +02:00
|
|
|
ep_disable_chat@0.0.8 \
|
|
|
|
ep_auth_session@1.1.1 \
|
2021-02-27 14:52:49 +01:00
|
|
|
# remove npm lockfile, because somehow it prevents etherpad from detecting the manual added plugin ep_bigbluebutton_patches
|
2023-09-12 18:31:01 +02:00
|
|
|
&& rm package-lock.json package.json
|
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
|
2021-04-17 18:23:19 +02:00
|
|
|
COPY etherpad-export.sh /etherpad-export.sh
|
2020-10-21 19:26:01 +02:00
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
2020-05-31 11:27:32 +02:00
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|