aboutsummaryrefslogtreecommitdiff
path: root/app/jitsi/build/jitsi-conference-focus/Dockerfile
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@dufour.io>2021-02-01 07:48:50 +0100
committerQuentin Dufour <quentin@dufour.io>2021-02-01 07:48:50 +0100
commitcb69a1123cc36c792cb0993ae46c3700a7391a62 (patch)
tree02845fb5b4e8216875942dba0e4c949fc87cc5ed /app/jitsi/build/jitsi-conference-focus/Dockerfile
parentc2960f75b7725e19e5c9366268fd8664ffc5fcac (diff)
downloadinfrastructure-cb69a1123cc36c792cb0993ae46c3700a7391a62.tar.gz
infrastructure-cb69a1123cc36c792cb0993ae46c3700a7391a62.zip
Stabilize build scripts
Diffstat (limited to 'app/jitsi/build/jitsi-conference-focus/Dockerfile')
-rw-r--r--app/jitsi/build/jitsi-conference-focus/Dockerfile22
1 files changed, 6 insertions, 16 deletions
diff --git a/app/jitsi/build/jitsi-conference-focus/Dockerfile b/app/jitsi/build/jitsi-conference-focus/Dockerfile
index cb6b127..0e11df9 100644
--- a/app/jitsi/build/jitsi-conference-focus/Dockerfile
+++ b/app/jitsi/build/jitsi-conference-focus/Dockerfile
@@ -3,25 +3,15 @@ FROM fedora:33 AS builder
# unzip is required when executing the mvn package command
RUN dnf install -y java-latest-openjdk-headless maven git unzip
-ARG PREFIXV
-ARG VERSION
-
-# Create a cache
-RUN git clone https://github.com/superboum/jicofo && \
- cd jicofo && \
- mvn package -DskipTests -Dassembly.skipAssembly=false
+ARG JICOFO_TAG
+RUN git clone --depth 1 --branch $JICOFO_TAG https://github.com/jitsi/jicofo
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
+COPY *.patch .
+RUN git apply 0001-Remove-broken-command-line-args-parameters-setting.patch
+RUN mvn package -DskipTests -Dassembly.skipAssembly=false
-RUN mvn package -DskipTests -Dassembly.skipAssembly=false && \
- unzip target/jicofo-1.1-SNAPSHOT-archive.zip && \
+RUN unzip target/jicofo-1.1-SNAPSHOT-archive.zip && \
mv jicofo-1.1-SNAPSHOT /srv/build
FROM debian:bullseye