This repository has been archived on 2023-03-15. You can view files and clone it, but cannot push or open issues or pull requests.
infrastructure/app/jitsi/build/jitsi-videobridge/Dockerfile

25 lines
671 B
Text
Raw Normal View History

2022-01-26 18:09:26 +00:00
FROM debian:bookworm AS builder
2020-03-22 17:01:54 +00:00
2020-09-12 09:15:07 +00:00
RUN apt-get update && \
2021-02-01 06:48:50 +00:00
apt-get install -y git unzip maven openjdk-11-jdk-headless
2021-01-29 17:59:19 +00:00
2021-02-01 06:48:50 +00:00
ARG JVB_TAG
RUN git clone --depth 1 --branch ${JVB_TAG} https://github.com/jitsi/jitsi-videobridge
2020-09-12 09:27:32 +00:00
2021-02-01 06:48:50 +00:00
WORKDIR jitsi-videobridge
COPY *.patch .
2022-01-26 18:09:26 +00:00
RUN git apply 0001-Remove-deprecated-argument.patch
2021-02-01 06:48:50 +00:00
RUN mvn package -DskipTests
RUN unzip jvb/target/jitsi-videobridge*.zip && \
2020-04-26 21:07:01 +00:00
mv jitsi-videobridge-*-SNAPSHOT build
2020-03-22 17:01:54 +00:00
2022-01-26 18:09:26 +00:00
FROM debian:bookworm
2020-03-22 17:01:54 +00:00
RUN apt-get update && \
2022-01-27 08:57:49 +00:00
apt-get install -y openjdk-11-jre-headless curl iproute2
2020-03-22 17:01:54 +00:00
2021-02-01 06:48:50 +00:00
COPY --from=builder /jitsi-videobridge/build /usr/share/jvb
2020-03-22 18:47:10 +00:00
COPY jvb_run /usr/local/bin/jvb_run
CMD ["/usr/local/bin/jvb_run"]