diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-01-28 18:55:56 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-01-28 18:55:56 +0100 |
commit | 4809e27220d4805bce8f14585f902097f53607ee (patch) | |
tree | 88f3089023ca73dff5a79c97c5a019a58b9f8e95 /app/jitsi/build/jitsi-xmpp/Dockerfile | |
parent | 7b57ff72a918ca295e2b00e76da33eec700c6a2a (diff) | |
download | infrastructure-4809e27220d4805bce8f14585f902097f53607ee.tar.gz infrastructure-4809e27220d4805bce8f14585f902097f53607ee.zip |
WIP integration jitsi
Diffstat (limited to 'app/jitsi/build/jitsi-xmpp/Dockerfile')
-rw-r--r-- | app/jitsi/build/jitsi-xmpp/Dockerfile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/app/jitsi/build/jitsi-xmpp/Dockerfile b/app/jitsi/build/jitsi-xmpp/Dockerfile index a682984..b32953a 100644 --- a/app/jitsi/build/jitsi-xmpp/Dockerfile +++ b/app/jitsi/build/jitsi-xmpp/Dockerfile @@ -5,15 +5,16 @@ ARG VERSION RUN apt-get update && \ apt-get install -y prosody=${VERSION} -mkdir -p /usr/local/share/ca-certificates/ -ln -sf \ - /var/lib/prosody/auth.jitsi.crt \ - /usr/local/share/ca-certificates/auth.jitsi.crt +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 -COPY xmpp_gen /usr/local/bin/xmpp_gen -COPY xmpp_run /usr/local/bin/xmpp_run +COPY xmpp_root /usr/local/bin/xmpp_root +COPY xmpp_prosody /usr/local/bin/xmpp_prosody -USER prosody -RUN mkdir /run/prosody && touch /run/prosody/prosody.pid WORKDIR /var/lib/prosody -CMD ["/usr/local/bin/xmpp_run"] +CMD ["/usr/local/bin/xmpp_root"] |