aboutsummaryrefslogtreecommitdiff
path: root/app/jitsi/build/jitsi-conference-focus
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@dufour.io>2021-01-29 17:17:28 +0100
committerQuentin Dufour <quentin@dufour.io>2021-01-29 17:17:28 +0100
commit7bdea778117416d406a46dec60913d2a4ad7e553 (patch)
tree48cde6f3fce26687ec0004725df99332920d6f25 /app/jitsi/build/jitsi-conference-focus
parentcee95ad0616f9c55cea6917c88b49366304a7287 (diff)
downloadinfrastructure-7bdea778117416d406a46dec60913d2a4ad7e553.tar.gz
infrastructure-7bdea778117416d406a46dec60913d2a4ad7e553.zip
WIP debugging jitsi
Diffstat (limited to 'app/jitsi/build/jitsi-conference-focus')
-rw-r--r--app/jitsi/build/jitsi-conference-focus/Dockerfile22
1 files changed, 17 insertions, 5 deletions
diff --git a/app/jitsi/build/jitsi-conference-focus/Dockerfile b/app/jitsi/build/jitsi-conference-focus/Dockerfile
index db50746..cb6b127 100644
--- a/app/jitsi/build/jitsi-conference-focus/Dockerfile
+++ b/app/jitsi/build/jitsi-conference-focus/Dockerfile
@@ -1,14 +1,26 @@
FROM fedora:33 AS builder
-RUN dnf install -y java-latest-openjdk-headless maven wget unzip
+# unzip is required when executing the mvn package command
+RUN dnf install -y java-latest-openjdk-headless maven git unzip
ARG PREFIXV
ARG VERSION
-RUN wget https://github.com/jitsi/jicofo/archive/${PREFIXV}${VERSION}.zip -O jicofo.zip
-RUN unzip jicofo.zip && \
- mv jicofo*${VERSION} jicofo && \
+
+# Create a cache
+RUN git clone https://github.com/superboum/jicofo && \
cd jicofo && \
- mvn package -DskipTests -Dassembly.skipAssembly=false && \
+ mvn package -DskipTests -Dassembly.skipAssembly=false
+
+WORKDIR jicofo
+# Ensure latest version is compiled
+RUN git pull && \
+ git checkout 194795ed2a3ca08c25322c99f1ee89d134e1e1a2
+
+# Wild patch for debug, once it will work we can safely remove this dead code
+#COPY jicofogit/src/main/kotlin/org/jitsi/jicofo/JicofoServices.kt src/main/kotlin/org/jitsi/jicofo/JicofoServices.kt
+#COPY jicofogit/src/main/java/org/jitsi/impl/protocol/xmpp/XmppProtocolProvider.java src/main/java/org/jitsi/impl/protocol/xmpp/XmppProtocolProvider.java
+
+RUN mvn package -DskipTests -Dassembly.skipAssembly=false && \
unzip target/jicofo-1.1-SNAPSHOT-archive.zip && \
mv jicofo-1.1-SNAPSHOT /srv/build