Mercurial > libervia-backend
view docker/prosody-e2e/Dockerfile @ 3767:fd3fe346a14a
docker (backend-dev): move dbus unix socket:
there seem to be a regression with Docker: the volume is not propagated anymore with
pre-existing files when a unix socket is inside.
This is the case in `backend-dev` with the D-Bus unix socket put in
`/home/libervia/.local/share/libervia/dbus_socket`, when the volume is mounted at
`/home/libervia/.local/share/libervia/`, resulting in hard to debug failures.
To work around that, the socket is not put in the volume mount point anymore, and has been
moved to `/home/libervia/.local/share/`
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 13 May 2022 19:21:17 +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