Mercurial > libervia-backend
annotate docker/prosody-e2e/Dockerfile @ 3942:a92eef737703
plugin XEP-0373: download public keys if they are not found in local storage:
public keys were only obtained from PEP notifications, however this wasn't working if the
entity was not in our roster.
Now if no public key is retrieved from local storage, the public key node is requested,
and an error is raised if nothing is found. This allows the use of OX with entities which
are not in roster.
rel 380
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 15 Oct 2022 20:38:33 +0200 |
parents | a6811543c7ff |
children | 31c84a32c897 |
rev | line source |
---|---|
3381 | 1 FROM prosody/prosody |
2 | |
3 LABEL maintainer="Goffi <tmp_dockerfiles@goffi.org>" | |
4 | |
5 ARG DEBIAN_FRONTEND=noninteractive | |
6 | |
3497
73e04040d577
docker: update following name changes:
Goffi <goffi@goffi.org>
parents:
3381
diff
changeset
|
7 # we synchronize tls-cert group with the one in libervia-web/libervia-backend |
3381 | 8 RUN addgroup tls-cert --gid 9999 && adduser prosody tls-cert && \ |
9 # we want third party modules | |
10 apt-get update && apt-get install -y --no-install-recommends mercurial && \ | |
11 mkdir -p /usr/local/share/prosody && \ | |
12 hg clone https://hg.prosody.im/prosody-modules /usr/local/share/prosody/modules && \ | |
13 chown -R prosody:prosody /usr/local/share/prosody | |
14 | |
15 COPY --chown=root:prosody prosody.cfg.lua /etc/prosody/prosody.cfg.lua | |
3497
73e04040d577
docker: update following name changes:
Goffi <goffi@goffi.org>
parents:
3381
diff
changeset
|
16 COPY --chown=root:tls-cert certificates/server1.test/cert.pem /usr/share/libervia/certificates/server1.test.pem |
73e04040d577
docker: update following name changes:
Goffi <goffi@goffi.org>
parents:
3381
diff
changeset
|
17 COPY --chown=root:tls-cert certificates/server1.test/key.pem /usr/share/libervia/certificates/server1.test-key.pem |
3381 | 18 |