view docker/prosody-e2e/Dockerfile @ 3919:7b2c51bcc8f5

plugin XEP-0384: temporarily disable `<iq>` stanza encryption: `<iq>` stanza encryption is implemented, but the `send` trigger doesn't catch all `iq` stanza send (which are often sent directly with `xmlstream.send`), and some stanza encryption may cause trouble (happened with disco on a bare jid). It is temporarily disabled but should be reactivated before `0.9` release.
author Goffi <goffi@goffi.org>
date Thu, 06 Oct 2022 16:02:05 +0200
parents a6811543c7ff
children 31c84a32c897
line wrap: on
line source

FROM prosody/prosody

LABEL maintainer="Goffi <tmp_dockerfiles@goffi.org>"

ARG DEBIAN_FRONTEND=noninteractive

# we synchronize tls-cert group with the one in libervia-web/libervia-backend
RUN addgroup tls-cert --gid 9999 && adduser prosody tls-cert && \
    # we want third party modules
    apt-get update && apt-get install -y --no-install-recommends mercurial && \
    mkdir -p /usr/local/share/prosody && \
    hg clone https://hg.prosody.im/prosody-modules /usr/local/share/prosody/modules && \
    chown -R prosody:prosody /usr/local/share/prosody

COPY --chown=root:prosody prosody.cfg.lua /etc/prosody/prosody.cfg.lua
COPY --chown=root:tls-cert certificates/server1.test/cert.pem /usr/share/libervia/certificates/server1.test.pem
COPY --chown=root:tls-cert certificates/server1.test/key.pem /usr/share/libervia/certificates/server1.test-key.pem