blob: b32953a9553db421447bbb5c5cf9765383b22466 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
FROM debian:buster
ARG VERSION
RUN apt-get update && \
apt-get install -y prosody=${VERSION}
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_root /usr/local/bin/xmpp_root
COPY xmpp_prosody /usr/local/bin/xmpp_prosody
WORKDIR /var/lib/prosody
CMD ["/usr/local/bin/xmpp_root"]
|