docker: dockers images, first draft:
This patch introduce new docker images, replacing the unmaintained ones which were in sat_docs. Images + docker-compose files are provided to use SàT backend and Libervia, but also to integrate and configure Prosody and SàT PubSub to run end-to-end tests.
This commit is contained in:
parent
a692ba8e2e
commit
0e7f9c1247
1 changed files with 539 additions and 0 deletions
20
docker/backend_e2e/Dockerfile
Normal file
20
docker/backend_e2e/Dockerfile
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
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
|
||||
|
||||
# we create the file sharing component which will autoconnect when backend is started
|
||||
RUN ./entrypoint.sh jp profile create file_sharing -j files.server1.test -p "" --xmpp-password test_e2e -C file_sharing -A && \
|
||||
sat stop
|
||||
Loading…
Reference in a new issue