2021-10-06 13:43:53 +02:00
|
|
|
FROM mozilla/sbt:8u212_1.2.8 AS builder
|
2020-10-29 17:37:05 +01:00
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y subversion
|
|
|
|
|
|
|
|
# download bbb-common-message
|
2022-03-21 12:00:36 +01:00
|
|
|
ENV TAG_COMMON_MESSAGE v2.4.5
|
2020-10-29 17:37:05 +01:00
|
|
|
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_COMMON_MESSAGE/bbb-common-message /bbb-common-message \
|
|
|
|
&& rm -rf /bbb-common-message/.svn
|
|
|
|
|
|
|
|
# compile bbb-common-message
|
|
|
|
RUN cd /bbb-common-message \
|
|
|
|
&& ./deploy.sh
|
|
|
|
|
|
|
|
|
|
|
|
# ===================================================
|
2022-03-21 12:00:36 +01:00
|
|
|
ENV TAG_FSESL v2.4.5
|
2020-10-29 17:37:05 +01:00
|
|
|
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_FSESL/bbb-fsesl-client /bbb-fsesl-client \
|
|
|
|
&& rm -rf /bbb-fsesl-client/.svn
|
|
|
|
|
|
|
|
RUN cd /bbb-fsesl-client \
|
|
|
|
&& ./deploy.sh
|
2020-07-12 15:30:16 +02:00
|
|
|
|
|
|
|
|
2022-03-21 12:00:36 +01:00
|
|
|
ENV TAG v2.4.5
|
2020-10-29 17:37:05 +01:00
|
|
|
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG/akka-bbb-fsesl /source \
|
|
|
|
&& rm -rf /source/.svn
|
|
|
|
|
|
|
|
# compile and unzip bin
|
|
|
|
RUN cd /source \
|
|
|
|
&& sbt universal:packageBin
|
|
|
|
RUN unzip /source/target/universal/bbb-fsesl-akka-0.0.2.zip -d /
|
|
|
|
|
|
|
|
# # ===================================================
|
|
|
|
|
2021-11-27 17:38:40 +01:00
|
|
|
FROM openjdk:8-jre-slim-bullseye
|
2020-10-29 17:37:05 +01:00
|
|
|
|
|
|
|
RUN apt update && apt-get install -y wget gosu
|
|
|
|
|
|
|
|
# install dockerize
|
|
|
|
ENV DOCKERIZE_VERSION v0.6.1
|
2021-10-06 13:43:53 +02:00
|
|
|
RUN wget -q https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
|
2020-10-29 17:37:05 +01:00
|
|
|
&& tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
|
|
|
|
&& rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
|
2020-07-12 15:30:16 +02:00
|
|
|
|
|
|
|
|
2020-10-29 17:37:05 +01:00
|
|
|
RUN groupadd -g 1007 fsesl-akka \
|
|
|
|
&& useradd -m -u 1007 -g fsesl-akka fsesl-akka
|
2020-07-12 15:30:16 +02:00
|
|
|
|
2020-10-29 17:37:05 +01:00
|
|
|
COPY --from=builder /bbb-fsesl-akka-0.0.2 /bbb-fsesl-akka
|
2021-03-27 18:48:05 +01:00
|
|
|
COPY bbb-fsesl-akka.conf /etc/bigbluebutton/bbb-fsesl-akka.conf.tmpl
|
2020-10-29 17:37:05 +01:00
|
|
|
COPY logback.xml /bbb-fsesl-akka/conf/logback.xml
|
2020-07-12 15:30:16 +02:00
|
|
|
|
|
|
|
WORKDIR /bbb-fsesl-akka
|
2020-10-29 17:37:05 +01:00
|
|
|
CMD dockerize \
|
2021-03-27 18:48:05 +01:00
|
|
|
-template /etc/bigbluebutton/bbb-fsesl-akka.conf.tmpl:/etc/bigbluebutton/bbb-fsesl-akka.conf \
|
2020-10-29 17:37:05 +01:00
|
|
|
gosu fsesl-akka /bbb-fsesl-akka/bin/bbb-fsesl-akka
|