From 0a87d26e47646fb0a3e9a9399ea83b39640583b1 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 1 Feb 2021 08:40:59 +0100 Subject: Polish configuration --- app/jitsi/build/jitsi-xmpp/Dockerfile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'app/jitsi/build/jitsi-xmpp/Dockerfile') diff --git a/app/jitsi/build/jitsi-xmpp/Dockerfile b/app/jitsi/build/jitsi-xmpp/Dockerfile index 90aae76..80b89f0 100644 --- a/app/jitsi/build/jitsi-xmpp/Dockerfile +++ b/app/jitsi/build/jitsi-xmpp/Dockerfile @@ -1,13 +1,10 @@ FROM debian:buster as builder -WORKDIR /tmp -ARG MEET_VERSION -ARG PREFIXV RUN apt-get update && \ - apt-get install -y wget unzip -RUN wget https://github.com/jitsi/jitsi-meet/archive/${PREFIXV}${MEET_VERSION}.zip -O meet.zip -RUN unzip meet.zip && \ - mv jitsi-meet-* jitsi-meet + apt-get install -y git unzip + +ARG MEET_TAG +RUN git clone --depth 1 --branch ${MEET_TAG} https://github.com/jitsi/jitsi-meet/ FROM debian:buster @@ -30,7 +27,7 @@ RUN mkdir -p /usr/local/share/ca-certificates/ && \ mkdir -p /var/lib/prosody && \ chown -R prosody:prosody /var/lib/prosody /run/prosody -COPY --from=builder /tmp/jitsi-meet/resources/prosody-plugins /usr/share/jitsi-meet/prosody-plugins/ +COPY --from=builder /jitsi-meet/resources/prosody-plugins /usr/share/jitsi-meet/prosody-plugins/ COPY xmpp_prosody /usr/local/bin/xmpp_prosody WORKDIR /var/lib/prosody -- cgit v1.2.3