comparison docker/prosody-e2e/Dockerfile @ 3497:73e04040d577

docker: update following name changes: `backend_e2e` now print properly backend logs
author Goffi <goffi@goffi.org>
date Fri, 16 Apr 2021 18:32:16 +0200
parents docker/prosody_e2e/Dockerfile@127dde80a0a5
children a6811543c7ff
comparison
equal deleted inserted replaced
3496:c018c510a562 3497:73e04040d577
1 FROM prosody/prosody
2
3 LABEL maintainer="Goffi <tmp_dockerfiles@goffi.org>"
4
5 ARG DEBIAN_FRONTEND=noninteractive
6
7 # we synchronize tls-cert group with the one in libervia-web/libervia-backend
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
16 COPY --chown=root:tls-cert certificates/server1.test/cert.pem /usr/share/libervia/certificates/server1.test.pem
17 COPY --chown=root:tls-cert certificates/server1.test/key.pem /usr/share/libervia/certificates/server1.test-key.pem
18
19 # we add exec to handle properly signals, this is missing upstream
20 # FIXME: to be removed when new images are generated with
21 # https://github.com/prosody/prosody-docker/pull/65
22 RUN sed -i "s/^runuser -u prosody/exec \0/" /entrypoint.sh