FROM libervia/backend:dev LABEL maintainer="Goffi " USER root # we install pre-generated demo certificates so they can be trusted 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 USER libervia RUN ./entrypoint.sh \ # we create the file sharing component which will autoconnect when backend is started libervia-cli profile create file-sharing -j files.server1.test -p "" --xmpp-password test_e2e -C file-sharing -A && \ libervia-backend stop RUN ./entrypoint.sh \ # and a demo account libervia-cli profile create demo -j demo@server1.test -p "demo" && \ # we create a bookmark to have something to test in chat libervia-cli bookmarks add -pdemo -a demo@server1.test\ libervia-backend stop USER libervia # HTTP Upload EXPOSE 7777