forked from extern/docker
removed bbb-demo
it is not working right now, needs some rework
This commit is contained in:
parent
61676a042d
commit
f5d77c5bcb
@ -1,16 +0,0 @@
|
||||
FROM tomcat:7-jdk8-openjdk
|
||||
|
||||
ENV DOCKERIZE_VERSION v0.6.1
|
||||
|
||||
RUN apt-get update && apt-get install -y wget binutils
|
||||
|
||||
# download & install bbb-demo package manually
|
||||
RUN PACKAGE_PATH=$(curl -s https://ubuntu.bigbluebutton.org/xenial-220/dists/bigbluebutton-xenial/main/binary-amd64/Packages | grep -E 'Filename.*bbb-demo' | awk '{print $2}') \
|
||||
&& wget https://ubuntu.bigbluebutton.org/xenial-220/$PACKAGE_PATH \
|
||||
&& ar x bbb-demo_*.deb \
|
||||
&& tar x -f data.tar.gz ./var/tmp/demo.war \
|
||||
&& unzip ./var/tmp/demo.war -d /usr/local/tomcat/webapps/demo
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
ENTRYPOINT /entrypoint.sh
|
@ -1,14 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
FILE=/usr/local/tomcat/webapps/demo/bbb_api_conf.jsp
|
||||
echo -n "<%" > $FILE
|
||||
echo "!
|
||||
// This is the security salt that must match the value set in the BigBlueButton server
|
||||
String salt = \"$SHARED_SECRET\";
|
||||
|
||||
// This is the URL for the BigBlueButton server
|
||||
String BigBlueButtonURL = \"https://$DOMAIN/bigbluebutton/\";
|
||||
%>
|
||||
" >> $FILE
|
||||
|
||||
/usr/local/tomcat/bin/catalina.sh run
|
Loading…
Reference in New Issue
Block a user