3381
|
1 FROM salutatoi/sat |
|
2 |
|
3 LABEL maintainer="Goffi <tmp_dockerfiles@goffi.org>" |
|
4 |
|
5 USER root |
|
6 |
|
7 # we install pre-generated certificates so we can do tests with valid TLS |
|
8 COPY --chown=root:root certificates/minica.pem /usr/local/share/ca-certificates/minica.crt |
|
9 COPY --chown=root:tls-cert certificates/server1.test/cert.pem /usr/share/sat/certificates/server1.test.pem |
|
10 COPY --chown=root:tls-cert certificates/server1.test/key.pem /usr/share/sat/certificates/server1.test-key.pem |
|
11 RUN update-ca-certificates |
|
12 |
|
13 COPY --chown=root:root sat.conf /etc/sat.conf |
|
14 |
|
15 WORKDIR /home/sat |
|
16 USER sat |
|
17 |
|
18 # we create the file sharing component which will autoconnect when backend is started |
|
19 RUN ./entrypoint.sh jp profile create file_sharing -j files.server1.test -p "" --xmpp-password test_e2e -C file_sharing -A && \ |
|
20 sat stop |