view docker/libervia-web-dev-e2e/Dockerfile @ 3840:5b192a5eb72d

plugin XEP-0277: post repeating implementation: Repeating a post as specified at https://xmpp.org/extensions/xep-0277.html#repeat is now implemented. On sending, one can either use the new `repeat` method (or the bridge `mbRepeat` one from frontends) to repeat any XEP-0277 item, or use the field `repeated` in microblog data's `extra`. This field must mainly contains the `by` field with JID of repeater (the "author*" field being filled with original author metadata), and the `uri` field with link (usually `xmpp:` one) to repeated item. When receiving a repeated item, the same `repeated` field is filled. rel 370
author Goffi <goffi@goffi.org>
date Wed, 13 Jul 2022 12:15:04 +0200
parents f25442794e11
children
line wrap: on
line source

ARG REVISION
FROM libervia/web:${REVISION:-dev}

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

ARG DEBIAN_FRONTEND=noninteractive

USER root

# we install pre-generated certificates so we can do tests with valid TLS
# those certificates are the same as in libervia/backend-dev-e2e
COPY --chown=root:root certificates/minica.pem /usr/local/share/ca-certificates/minica.crt
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
RUN update-ca-certificates

COPY --chown=root:root libervia.conf /etc/libervia.conf

WORKDIR /home/libervia
USER libervia