comparison docker/backend-dev-e2e/Dockerfile @ 3661:cbb988a6f507

merge bookmark `@`
author Goffi <goffi@goffi.org>
date Wed, 08 Sep 2021 11:20:37 +0200
parents 0ffaa231138c
children 9c50d2f812c1 d5fd630b57bb
comparison
equal deleted inserted replaced
3639:05db744f194f 3661:cbb988a6f507
1 FROM libervia/backend:dev 1 ARG REVISION=dev
2 FROM libervia/backend:${REVISION}
2 3
3 LABEL maintainer="Goffi <tmp_dockerfiles@goffi.org>" 4 LABEL maintainer="Goffi <tmp_dockerfiles@goffi.org>"
4 5
5 USER root 6 USER root
6 7
44 USER libervia 45 USER libervia
45 46
46 RUN \ 47 RUN \
47 # pytest and its plugins 48 # pytest and its plugins
48 pip install pytest pytest-timeout pytest-dependency \ 49 pip install pytest pytest-timeout pytest-dependency \
49 # needed to test jp 50 # needed to test libervia-cli
50 sh \ 51 sh \
51 # needed to test libervia 52 # needed to test libervia
52 helium \ 53 helium \
53 # needed to check sent emails 54 # needed to check sent emails
54 aiosmtpd \ 55 aiosmtpd \
55 # useful for debugging 56 # useful for debugging
56 pudb 57 pudb
57 58
58 RUN ./entrypoint.sh \ 59 RUN ./entrypoint.sh \
59 # we create the file sharing component which will autoconnect when backend is started 60 # we create the file sharing component which will autoconnect when backend is started
60 jp profile create file_sharing -j files.server1.test -p "" --xmpp-password test_e2e -C file_sharing -A && \ 61 li profile create file_sharing -j files.server1.test -p "" --xmpp-password test_e2e -C file_sharing -A && \
61 libervia-backend stop 62 libervia-backend stop
62 63
63 ENV LIBERVIA_TEST_REPORT_DIR=/reports 64 ENV LIBERVIA_TEST_REPORT_DIR=/reports
64 ENV DISPLAY=:0 65 ENV DISPLAY=:0
65 USER root 66 USER root