docker/mod/etherpad/Dockerfile

34 lines
1.2 KiB
Docker
Raw Normal View History

2021-11-27 17:38:40 +01:00
FROM etherpad/etherpad:1.8.14
# TODO: update to 1.8.15 as soon as available
USER root
RUN apt-get update \
2021-04-17 18:23:19 +02:00
&& apt-get install -y git curl
USER etherpad
2021-04-17 20:27:26 +02:00
# only used to trigger a fresh run of the npm install
# command without caching
2021-11-27 17:38:40 +01:00
ENV TAG v2.4-rc-5
2021-04-17 18:23:19 +02:00
2021-11-27 17:38:40 +01:00
# ep_cursortrace: using mconf's fork due to https://github.com/ether/ep_cursortrace/pull/25 not being accepted upstream
RUN npm install \
2021-11-27 17:38:40 +01:00
git+https://github.com/mconf/ep_cursortrace.git \
git+https://git@github.com/pedrobmarin/ep_pad_ttl.git \
git+https://git@github.com/pedrobmarin/ep_redis_publisher.git \
git+https://git@github.com/ether/ep_disable_chat.git \
2021-04-10 11:34:11 +02:00
git+https://github.com/ether/ep_sticky_attributes.git \
# 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"]