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-conference-focus/Dockerfile

23 lines
682 B
Text
Raw Permalink Normal View History

2020-03-22 17:01:54 +00:00
FROM debian:buster AS builder
2020-04-26 21:07:01 +00:00
ENV VERSION=4510
2020-03-22 17:01:54 +00:00
RUN apt-get update && \
2020-04-26 21:07:01 +00:00
apt-get install -y openjdk-11-jdk maven wget unzip && \
wget https://github.com/jitsi/jicofo/archive/jitsi-meet_${VERSION}.zip -O jicofo.zip && \
unzip jicofo.zip && \
mv jicofo-jitsi-meet_${VERSION} jicofo && \
2020-03-22 17:01:54 +00:00
cd jicofo && \
2020-04-26 21:07:01 +00:00
mvn package -DskipTests -Dassembly.skipAssembly=false && \
2020-03-22 17:01:54 +00:00
unzip target/jicofo-1.1-SNAPSHOT-archive.zip && \
2020-04-26 21:07:01 +00:00
mv jicofo-1.1-SNAPSHOT /srv/build
2020-03-22 17:01:54 +00:00
FROM debian:buster
RUN apt-get update && \
2020-03-22 17:14:16 +00:00
apt-get install -y openjdk-11-jdk ca-certificates
2020-03-22 17:01:54 +00:00
2020-04-26 21:07:01 +00:00
COPY --from=builder /srv/build /srv/jicofo
2020-03-22 17:01:54 +00:00
COPY jicofo /usr/local/bin/jicofo
CMD ["/usr/local/bin/jicofo"]