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

27 lines
748 B
Text
Raw Normal View History

2022-01-26 19:09:26 +01:00
FROM debian:bookworm AS builder
2021-01-28 23:02:37 +01:00
2021-01-29 17:17:28 +01:00
# unzip is required when executing the mvn package command
2021-02-01 08:40:59 +01:00
RUN apt-get update && \
apt-get install -y openjdk-11-jdk-headless maven git unzip
2020-03-22 18:01:54 +01:00
2021-02-01 07:48:50 +01:00
ARG JICOFO_TAG
RUN git clone --depth 1 --branch $JICOFO_TAG https://github.com/jitsi/jicofo
2021-01-29 17:17:28 +01:00
WORKDIR jicofo
2021-02-01 07:48:50 +01:00
COPY *.patch .
RUN git apply 0001-Remove-broken-command-line-args-parameters-setting.patch
RUN mvn package -DskipTests -Dassembly.skipAssembly=false
2021-01-29 17:17:28 +01:00
2021-02-01 07:48:50 +01:00
RUN unzip target/jicofo-1.1-SNAPSHOT-archive.zip && \
2020-04-26 23:07:01 +02:00
mv jicofo-1.1-SNAPSHOT /srv/build
2020-03-22 18:01:54 +01:00
2022-01-26 19:09:26 +01:00
FROM debian:bookworm
2020-03-22 18:01:54 +01:00
RUN apt-get update && \
2020-09-13 11:46:14 +02:00
apt-get install -y openjdk-11-jre-headless ca-certificates
2021-01-20 15:44:42 +01:00
COPY --from=builder /srv/build /usr/share/jicofo
COPY jicofo /usr/local/bin
2020-03-22 18:01:54 +01:00
CMD ["/usr/local/bin/jicofo"]