This repository has been archived on 2023-03-15. You can view files and clone it, but cannot push or open issues or pull requests.
infrastructure/app/jitsi/build/jitsi-xmpp/Dockerfile

20 lines
443 B
Text
Raw Normal View History

FROM debian:buster
2020-12-23 14:55:17 +00:00
ARG VERSION
RUN apt-get update && \
2020-12-23 14:55:17 +00:00
apt-get install -y prosody=${VERSION}
2021-01-28 16:52:41 +00:00
mkdir -p /usr/local/share/ca-certificates/
ln -sf \
/var/lib/prosody/auth.jitsi.crt \
/usr/local/share/ca-certificates/auth.jitsi.crt
2020-03-22 17:01:54 +00:00
COPY xmpp_gen /usr/local/bin/xmpp_gen
COPY xmpp_run /usr/local/bin/xmpp_run
2021-01-28 16:52:41 +00:00
USER prosody
RUN mkdir /run/prosody && touch /run/prosody/prosody.pid
WORKDIR /var/lib/prosody
2020-03-22 17:01:54 +00:00
CMD ["/usr/local/bin/xmpp_run"]