docker/mod/etherpad/Dockerfile

28 lines
981 B
Docker
Raw Normal View History

2022-05-08 18:54:23 +02:00
FROM etherpad/etherpad:1.8.18
USER root
RUN apt-get update \
2021-04-17 18:23:19 +02:00
&& apt-get install -y git curl
USER etherpad
RUN npm install \
2022-05-22 18:12:25 +02:00
ep_cursortrace@3.1.16 \
git+https://github.com/mconf/ep_pad_ttl.git#360136cd38493dd698435631f2373cbb7089082d \
2022-05-22 18:12:25 +02:00
git+https://github.com/mconf/ep_redis_publisher.git#a30a48e4bc1e501b5b102884b9a0b26c30798484 \
ep_disable_chat@0.0.8 \
ep_auth_session@1.1.1 \
# remove npm lockfile, because somehow it prevents etherpad from detecting the manual added plugin ep_bigbluebutton_patches
&& rm package-lock.json
# 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
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]