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/docker/jitsi/jitsi-videobridge/Dockerfile

22 lines
520 B
Text
Raw Normal View History

2020-03-22 17:01:54 +00:00
FROM debian:buster AS builder
RUN apt-get update && \
apt-get install -y wget unzip
ENV VERSION=1132
RUN wget https://download.jitsi.org/jitsi-videobridge/linux/jitsi-videobridge-linux-x64-${VERSION}.zip -O jvb.zip && \
unzip jvb.zip && \
mv jitsi-videobridge-linux-x64-${VERSION} jvb
FROM debian:buster
RUN apt-get update && \
2020-03-22 18:47:10 +00:00
apt-get install -y openjdk-11-jdk
2020-03-22 17:01:54 +00:00
2020-03-22 18:47:10 +00:00
COPY --from=builder /jvb /srv/jvb
ENV HOME=/srv/jvb
WORKDIR /srv/jvb
COPY jvb_run /usr/local/bin/jvb_run
CMD ["/usr/local/bin/jvb_run"]