aboutsummaryrefslogtreecommitdiff
path: root/app/jitsi/build/jitsi-conference-focus
diff options
context:
space:
mode:
Diffstat (limited to 'app/jitsi/build/jitsi-conference-focus')
-rw-r--r--app/jitsi/build/jitsi-conference-focus/Dockerfile7
-rwxr-xr-xapp/jitsi/build/jitsi-conference-focus/jicofo8
2 files changed, 4 insertions, 11 deletions
diff --git a/app/jitsi/build/jitsi-conference-focus/Dockerfile b/app/jitsi/build/jitsi-conference-focus/Dockerfile
index 0e11df9..13e99be 100644
--- a/app/jitsi/build/jitsi-conference-focus/Dockerfile
+++ b/app/jitsi/build/jitsi-conference-focus/Dockerfile
@@ -1,7 +1,8 @@
-FROM fedora:33 AS builder
+FROM debian:buster AS builder
# unzip is required when executing the mvn package command
-RUN dnf install -y java-latest-openjdk-headless maven git unzip
+RUN apt-get update && \
+ apt-get install -y openjdk-11-jdk-headless maven git unzip
ARG JICOFO_TAG
RUN git clone --depth 1 --branch $JICOFO_TAG https://github.com/jitsi/jicofo
@@ -14,7 +15,7 @@ RUN mvn package -DskipTests -Dassembly.skipAssembly=false
RUN unzip target/jicofo-1.1-SNAPSHOT-archive.zip && \
mv jicofo-1.1-SNAPSHOT /srv/build
-FROM debian:bullseye
+FROM debian:buster
RUN apt-get update && \
apt-get install -y openjdk-11-jre-headless ca-certificates
diff --git a/app/jitsi/build/jitsi-conference-focus/jicofo b/app/jitsi/build/jitsi-conference-focus/jicofo
index 344b293..e307e9f 100755
--- a/app/jitsi/build/jitsi-conference-focus/jicofo
+++ b/app/jitsi/build/jitsi-conference-focus/jicofo
@@ -2,15 +2,7 @@
update-ca-certificates -f
-if [ -z "${JICOFO_MEMORY}" ]; then
- echo "You must set the env variable 'JICOFO_MEMORY'. eg. JICOFO_MEMORY=3072m"
- exit 1
-fi
-
exec java \
- -Xmx${JICOFO_MEMORY} \
- -XX:+HeapDumpOnOutOfMemoryError \
- -XX:HeapDumpPath=/tmp \
-Djdk.tls.ephemeralDHKeySize=2048 \
-Djava.util.logging.config.file=/usr/share/jicofo/lib/logging.properties \
-Dconfig.file=/etc/jitsi/jicofo.conf \