| 1 | FROM docker.io/prosodyim/prosody@sha256:0d4efc7c11018dfd863c9a25495efe706027de357a58a18ef02f8c484fb264ed |
| 2 | RUN apt-get update && apt-get install -y --no-install-recommends \ |
| 3 | python3 certbot python3-certbot-dns-cloudflare coturn \ |
| 4 | && rm -rf /var/lib/apt/lists/* |
| 5 | ADD https://hg.prosody.im/prosody-modules/archive/bd56316b2b1389fe57dbd78f93ac4fe8428dee5e.tar.gz /tmp/modules.tar.gz |
| 6 | RUN echo '18c122cd7a294a052c062fc65440ee9e289e8212f71e68ab3442f3c74004f285 /tmp/modules.tar.gz' | sha256sum -c - \ |
| 7 | && mkdir /opt/prosody-modules \ |
| 8 | && tar -xzf /tmp/modules.tar.gz -C /opt/prosody-modules --strip-components=1 \ |
| 9 | && rm /tmp/modules.tar.gz |
| 10 | COPY network.json /etc/xmpp-network.json |