From 2d6616195f011a131ad166aebdceb771c9fc573f Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 2 Feb 2023 14:48:59 +0100 Subject: upgrade the building logic --- cluster/prod/app/jitsi/build/jitsi-conference-focus/Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cluster/prod/app/jitsi/build/jitsi-conference-focus/Dockerfile') diff --git a/cluster/prod/app/jitsi/build/jitsi-conference-focus/Dockerfile b/cluster/prod/app/jitsi/build/jitsi-conference-focus/Dockerfile index 241c61b..29a3791 100644 --- a/cluster/prod/app/jitsi/build/jitsi-conference-focus/Dockerfile +++ b/cluster/prod/app/jitsi/build/jitsi-conference-focus/Dockerfile @@ -2,23 +2,23 @@ FROM debian:bookworm AS builder # unzip is required when executing the mvn package command RUN apt-get update && \ - apt-get install -y openjdk-11-jdk-headless maven git unzip + apt-get install -y openjdk-17-jdk-headless maven git unzip ARG JICOFO_TAG RUN git clone --depth 1 --branch $JICOFO_TAG https://github.com/jitsi/jicofo WORKDIR jicofo -COPY *.patch . -RUN git apply 0001-Remove-broken-command-line-args-parameters-setting.patch +#COPY *.patch . +#RUN git apply 0001-Remove-broken-command-line-args-parameters-setting.patch RUN mvn package -DskipTests -Dassembly.skipAssembly=false -RUN unzip target/jicofo-1.1-SNAPSHOT-archive.zip && \ +RUN unzip jicofo/target/jicofo-1.1-SNAPSHOT-archive.zip && \ mv jicofo-1.1-SNAPSHOT /srv/build FROM debian:bookworm RUN apt-get update && \ - apt-get install -y openjdk-11-jre-headless ca-certificates + apt-get install -y openjdk-17-jre-headless ca-certificates COPY --from=builder /srv/build /usr/share/jicofo COPY jicofo /usr/local/bin -- cgit v1.2.3