applied changes from alpha-4 to alpha-6

This commit is contained in:
chandi
2021-02-11 14:34:55 +01:00
parent 747f64e901
commit 2a22f37706
15 changed files with 96 additions and 37 deletions

View File

@ -1,14 +1,29 @@
FROM nginx:1.19-alpine
FROM node:14-alpine AS builder
RUN apk add subversion
ENV TAG v2.3-alpha-3
# --------------------
# get bbb-playback-presentation web files
RUN mkdir /www \
&& cd /www \
&& svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG/record-and-playback/presentation/playback/presentation/ \
&& rm -rf /www/presentation/.svn /www/presentation/0.*
ENV TAG_PlAYBACK_LEGACY v2.3-alpha-6
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_PlAYBACK_LEGACY/record-and-playback/presentation/playback/presentation /playback-legacy
# --------------------
ENV TAG_PLAYBACK v2.3.2
ENV REACT_APP_BBB_PLAYBACK_BUILD=$TAG_PLAYBACK
# apparently there is currently no github release & tag created
# for the latest bbb-playback version shipped with 2.3-alpha-6
# so we use the master branch
# RUN svn checkout https://github.com/bigbluebutton/bbb-playback/tags/$TAG_PLAYBACK /bbb-playback
RUN svn checkout https://github.com/bigbluebutton/bbb-playback/trunk /bbb-playback
RUN cd /bbb-playback && npm install && npm run-script build
# --------------------
FROM nginx:1.19-alpine
COPY --from=builder /playback-legacy/2.0 /www/presentation/2.0
COPY --from=builder /bbb-playback/build /www/presentation/2.3
COPY ./bbb /etc/nginx/bbb
COPY ./bigbluebutton /etc/nginx/conf.d/default.conf