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-videobridge | |
parent | 6445d55e3e651d1728f722377c65504c4fe91cf6 (diff) | |
download | nixcfg-2d6616195f011a131ad166aebdceb771c9fc573f.tar.gz nixcfg-2d6616195f011a131ad166aebdceb771c9fc573f.zip |
upgrade the building logic
Diffstat (limited to 'cluster/prod/app/jitsi/build/jitsi-videobridge')
-rw-r--r-- | cluster/prod/app/jitsi/build/jitsi-videobridge/Dockerfile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cluster/prod/app/jitsi/build/jitsi-videobridge/Dockerfile b/cluster/prod/app/jitsi/build/jitsi-videobridge/Dockerfile index 1f2509b..84c3153 100644 --- a/cluster/prod/app/jitsi/build/jitsi-videobridge/Dockerfile +++ b/cluster/prod/app/jitsi/build/jitsi-videobridge/Dockerfile @@ -1,14 +1,14 @@ FROM debian:bookworm AS builder RUN apt-get update && \ - apt-get install -y git unzip maven openjdk-11-jdk-headless + apt-get install -y git unzip maven openjdk-17-jdk-headless ARG JVB_TAG RUN git clone --depth 1 --branch ${JVB_TAG} https://github.com/jitsi/jitsi-videobridge WORKDIR jitsi-videobridge -COPY *.patch . -RUN git apply 0001-Remove-deprecated-argument.patch +#COPY *.patch . +#RUN git apply 0001-Remove-deprecated-argument.patch RUN mvn package -DskipTests RUN unzip jvb/target/jitsi-videobridge*.zip && \ mv jitsi-videobridge-*-SNAPSHOT build @@ -16,7 +16,7 @@ RUN unzip jvb/target/jitsi-videobridge*.zip && \ FROM debian:bookworm RUN apt-get update && \ - apt-get install -y openjdk-11-jre-headless curl iproute2 + apt-get install -y openjdk-17-jre-headless curl iproute2 COPY --from=builder /jitsi-videobridge/build /usr/share/jvb COPY jvb_run /usr/local/bin/jvb_run |