2022-04-03 23:18:15 +02:00
|
|
|
ARG BBB_BUILD_TAG
|
2023-09-12 18:23:22 +02:00
|
|
|
FROM bigbluebutton/bbb-build:$BBB_BUILD_TAG AS builder
|
2020-10-28 16:11:21 +01:00
|
|
|
|
2023-11-29 22:17:49 +01:00
|
|
|
COPY --from=src-common-message / /bbb-common-message
|
2020-10-28 16:11:21 +01:00
|
|
|
|
2023-11-29 22:17:49 +01:00
|
|
|
# build bbb-common-message
|
|
|
|
RUN cd /bbb-common-message && ./deploy.sh
|
2020-10-28 16:11:21 +01:00
|
|
|
|
|
|
|
# ===================================================
|
|
|
|
|
|
|
|
|
2023-11-29 22:17:49 +01:00
|
|
|
COPY --from=src-common-web / /bbb-common-web
|
|
|
|
# build bbb-common-web
|
|
|
|
RUN cd /bbb-common-web && ./deploy.sh
|
2020-10-28 16:11:21 +01:00
|
|
|
|
2023-11-29 22:17:49 +01:00
|
|
|
COPY --from=src-web / /bbb-web
|
2020-10-28 16:11:21 +01:00
|
|
|
|
|
|
|
# compile bbb-web
|
|
|
|
RUN cd /bbb-web && grails assemble
|
|
|
|
|
|
|
|
# compile pres-checker
|
|
|
|
RUN cd /bbb-web/pres-checker && gradle resolveDeps
|
|
|
|
|
2020-10-29 17:37:51 +01:00
|
|
|
# extract .war
|
|
|
|
RUN unzip -q /bbb-web/build/libs/bigbluebutton-0.10.0.war -d /dist
|
2020-10-28 16:11:21 +01:00
|
|
|
|
|
|
|
|
|
|
|
# ===================================================
|
2022-05-08 19:45:59 +02:00
|
|
|
FROM alangecker/bbb-docker-base-java
|
2020-10-28 16:11:21 +01:00
|
|
|
|
2023-03-03 15:05:14 +01:00
|
|
|
# add blank presentation files and allow conversion to pdf/svg
|
2020-10-28 16:11:21 +01:00
|
|
|
RUN mkdir -p /usr/share/bigbluebutton/blank \
|
|
|
|
&& cd /usr/share/bigbluebutton/blank \
|
|
|
|
&& wget \
|
2021-12-21 14:23:59 +01:00
|
|
|
https://raw.githubusercontent.com/bigbluebutton/bigbluebutton/v2.4.0/bigbluebutton-config/slides/blank-svg.svg \
|
|
|
|
https://raw.githubusercontent.com/bigbluebutton/bigbluebutton/v2.4.0/bigbluebutton-config/slides/blank-thumb.png \
|
|
|
|
https://raw.githubusercontent.com/bigbluebutton/bigbluebutton/v2.4.0/bigbluebutton-config/slides/blank-presentation.pdf \
|
|
|
|
https://raw.githubusercontent.com/bigbluebutton/bigbluebutton/v2.4.0/bigbluebutton-config/slides/blank-png.png \
|
2022-01-27 22:23:55 +01:00
|
|
|
&& sed -i 's/<policy domain="coder" rights="none" pattern="PDF" \/>/<policy domain="coder" rights="write" pattern="PDF" \/>/g' /etc/ImageMagick-6/policy.xml \
|
|
|
|
&& sed -i '/potrace/d' /etc/ImageMagick-6/delegates.xml
|
|
|
|
|
2020-10-28 16:11:21 +01:00
|
|
|
|
2020-10-29 17:37:51 +01:00
|
|
|
# get bbb-web
|
|
|
|
COPY --from=builder /dist /usr/share/bbb-web
|
2020-10-28 16:11:21 +01:00
|
|
|
|
|
|
|
# get pres-checker
|
|
|
|
COPY --from=builder /bbb-web/pres-checker/lib /usr/share/prescheck/lib
|
|
|
|
COPY --from=builder /bbb-web/pres-checker/run.sh /usr/share/prescheck/prescheck.sh
|
|
|
|
|
2020-12-23 23:58:24 +01:00
|
|
|
COPY mocked-ps /usr/bin/ps
|
|
|
|
|
2020-10-28 16:11:21 +01:00
|
|
|
# add entrypoint and templates
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
2021-04-02 18:34:55 +02:00
|
|
|
COPY bbb-web.properties /etc/bigbluebutton/bbb-web.properties.tmpl
|
2020-10-28 16:11:21 +01:00
|
|
|
COPY turn-stun-servers.xml /usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml.tmpl
|
|
|
|
COPY logback.xml /usr/share/bbb-web/WEB-INF/classes/logback.xml
|
2021-04-02 18:23:05 +02:00
|
|
|
COPY office-convert.sh /usr/share/bbb-libreoffice-conversion/convert.sh
|
2020-10-28 16:11:21 +01:00
|
|
|
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|