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
2020-03-22 19:47:10 +01:00

21 lines
520 B
Docker

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 && \
apt-get install -y openjdk-11-jdk
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"]