diff options
author | Quentin Dufour <quentin@dufour.io> | 2021-02-01 08:40:59 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@dufour.io> | 2021-02-01 08:40:59 +0100 |
commit | 0a87d26e47646fb0a3e9a9399ea83b39640583b1 (patch) | |
tree | 66b79c1cd096fd1a0923aa35e93364d393f6b417 /app/jitsi/build/jitsi-xmpp/Dockerfile | |
parent | cb69a1123cc36c792cb0993ae46c3700a7391a62 (diff) | |
download | infrastructure-0a87d26e47646fb0a3e9a9399ea83b39640583b1.tar.gz infrastructure-0a87d26e47646fb0a3e9a9399ea83b39640583b1.zip |
Polish configuration
Diffstat (limited to 'app/jitsi/build/jitsi-xmpp/Dockerfile')
-rw-r--r-- | app/jitsi/build/jitsi-xmpp/Dockerfile | 13 |
1 files changed, 5 insertions, 8 deletions
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 |