diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-02-02 14:48:59 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-02-02 14:48:59 +0100 |
commit | 2d6616195f011a131ad166aebdceb771c9fc573f (patch) | |
tree | ed681bfe7a28d31603ef3c3275bda4e004d3cd80 /cluster/prod/app/jitsi/build/jitsi-conference-focus | |
parent | 6445d55e3e651d1728f722377c65504c4fe91cf6 (diff) | |
download | nixcfg-2d6616195f011a131ad166aebdceb771c9fc573f.tar.gz nixcfg-2d6616195f011a131ad166aebdceb771c9fc573f.zip |
upgrade the building logic
Diffstat (limited to 'cluster/prod/app/jitsi/build/jitsi-conference-focus')
-rw-r--r-- | cluster/prod/app/jitsi/build/jitsi-conference-focus/Dockerfile | 10 |
1 files changed, 5 insertions, 5 deletions
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 |