view docker/backend_e2e/Dockerfile @ 3404:26a0af6e32c1

plugin XEP-0166: new trigger point + coroutines + helper methods: - a new `XEP-0166_initiate` async trigger point is available - `initate` is now a coroutine - `jingleSessionInit` in applications and transports handlers are now called using `utils.adDeferred` - new `getApplication` helper method, to retrieve application from its namespace - new `getContentData` helper method to retrieve application and its argument from content
author Goffi <goffi@goffi.org>
date Thu, 12 Nov 2020 14:53:15 +0100
parents bcdfe7905409
children f023f06fa344
line wrap: on
line source

FROM salutatoi/sat

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

USER root

# we install pre-generated certificates so we can do tests with valid TLS
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/sat/certificates/server1.test.pem
COPY --chown=root:tls-cert certificates/server1.test/key.pem /usr/share/sat/certificates/server1.test-key.pem
RUN update-ca-certificates

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

WORKDIR /home/sat
USER sat

RUN pip install pytest sh
RUN ./entrypoint.sh \
    # we create the file sharing component which will autoconnect when backend is started
    jp profile create file_sharing -j files.server1.test -p "" --xmpp-password test_e2e -C file_sharing -A && \
    sat stop