mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-12-13 10:21:46 +01:00
31 lines
1.0 KiB
Docker
31 lines
1.0 KiB
Docker
FROM etherpad/etherpad:1.8.13
|
|
|
|
USER root
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y git curl
|
|
|
|
USER etherpad
|
|
|
|
# only used to trigger a fresh run of the npm install
|
|
# command without caching
|
|
ENV TAG v2.3.0
|
|
|
|
RUN npm install \
|
|
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 \
|
|
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
|
|
COPY etherpad-export.sh /etherpad-export.sh
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
ENTRYPOINT ["/entrypoint.sh"] |