aboutsummaryrefslogblamecommitdiff
path: root/app/jitsi/build/jitsi-xmpp/Dockerfile
blob: a6829848c1cb3911f87acab2f30a2d233a58cb2d (plain) (tree)
1
2
3
4
5
6
7

                  

           
                       
                                         
 




                                                 


                                     


                                                        
                               
FROM debian:buster

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

COPY xmpp_gen /usr/local/bin/xmpp_gen
COPY xmpp_run /usr/local/bin/xmpp_run

USER prosody
RUN mkdir /run/prosody && touch /run/prosody/prosody.pid
WORKDIR /var/lib/prosody
CMD ["/usr/local/bin/xmpp_run"]