From 2e8923b383eb06c53261eee8e5c442b857fb67e4 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 24 Aug 2022 15:42:47 +0200 Subject: Move app files into cluster subdirectories; add prod garage --- app/jitsi/build/jitsi-xmpp/Dockerfile | 35 --------------------------------- app/jitsi/build/jitsi-xmpp/xmpp_prosody | 9 --------- 2 files changed, 44 deletions(-) delete mode 100644 app/jitsi/build/jitsi-xmpp/Dockerfile delete mode 100755 app/jitsi/build/jitsi-xmpp/xmpp_prosody (limited to 'app/jitsi/build/jitsi-xmpp') diff --git a/app/jitsi/build/jitsi-xmpp/Dockerfile b/app/jitsi/build/jitsi-xmpp/Dockerfile deleted file mode 100644 index a060fda..0000000 --- a/app/jitsi/build/jitsi-xmpp/Dockerfile +++ /dev/null @@ -1,35 +0,0 @@ -FROM debian:bookworm as builder - -RUN apt-get update && \ - 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:bookworm - -ARG PROSODY_VERSION -RUN apt-get update && \ - apt-get install -y wget gnupg2 && \ - echo deb http://packages.prosody.im/debian buster main \ - | tee -a /etc/apt/sources.list && \ - wget https://prosody.im/files/prosody-debian-packages.key -O - \ - | apt-key add - && \ - apt-get update && \ - apt-get install -y prosody=${PROSODY_VERSION} lua-event - -RUN mkdir -p /usr/local/share/ca-certificates/ && \ - ln -sf \ - /var/lib/prosody/certs/auth.jitsi.crt \ - /usr/local/share/ca-certificates/auth.jitsi.crt && \ - mkdir /run/prosody && \ - touch /run/prosody/prosody.pid && \ - mkdir -p /var/lib/prosody && \ - chown -R prosody:prosody /var/lib/prosody /run/prosody - -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 -USER prosody -CMD ["/usr/local/bin/xmpp_prosody"] diff --git a/app/jitsi/build/jitsi-xmpp/xmpp_prosody b/app/jitsi/build/jitsi-xmpp/xmpp_prosody deleted file mode 100755 index af179e5..0000000 --- a/app/jitsi/build/jitsi-xmpp/xmpp_prosody +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -prosodyctl register focus auth.jitsi ${JICOFO_AUTH_PASSWORD} -prosodyctl register jvb auth.jitsi ${JVB_AUTH_PASSWORD} - -# copied from jitsi-meet.postinst -# Make sure the focus@auth user's roster includes the proxy component (this is idempotent) -prosodyctl mod_roster_command subscribe focus.jitsi focus@auth.jitsi - -exec prosody -- cgit v1.2.3