forked from Deuxfleurs/infrastructure
21 lines
514 B
Docker
21 lines
514 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=/root
|
|
WORKDIR /root
|
|
COPY jvb_run /usr/local/bin/jvb_run
|
|
|
|
CMD ["/usr/local/bin/jvb_run"]
|