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
|
2020-03-27 22:27:52 +00:00
|
|
|
ENV HOME=/root
|
|
|
|
WORKDIR /root
|
2020-03-22 18:47:10 +00:00
|
|
|
COPY jvb_run /usr/local/bin/jvb_run
|
|
|
|
|
|
|
|
CMD ["/usr/local/bin/jvb_run"]
|