aboutsummaryrefslogtreecommitdiff
path: root/docker/jitsi/jitsi-videobridge/Dockerfile
blob: b451b4dc097a34a4b2319b70e6a500fcfddc642a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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=/root
WORKDIR /root
COPY jvb_run /usr/local/bin/jvb_run

CMD ["/usr/local/bin/jvb_run"]