comparison docker/libervia-web-dev-e2e/Dockerfile @ 3497:73e04040d577

docker: update following name changes: `backend_e2e` now print properly backend logs
author Goffi <goffi@goffi.org>
date Fri, 16 Apr 2021 18:32:16 +0200
parents docker/libervia_e2e/Dockerfile@0653be94ee5e
children 0ffaa231138c
comparison
equal deleted inserted replaced
3496:c018c510a562 3497:73e04040d577
1 FROM libervia/web:dev
2
3 LABEL maintainer="Goffi <tmp_dockerfiles@goffi.org>"
4
5 ARG DEBIAN_FRONTEND=noninteractive
6
7 USER root
8
9 # we install pre-generated certificates so we can do tests with valid TLS
10 # those certificates are the same as in libervia/backend-dev-e2e
11 COPY --chown=root:root certificates/minica.pem /usr/local/share/ca-certificates/minica.crt
12 COPY --chown=root:tls-cert certificates/server1.test/cert.pem /usr/share/libervia/certificates/server1.test.pem
13 COPY --chown=root:tls-cert certificates/server1.test/key.pem /usr/share/libervia/certificates/server1.test-key.pem
14 RUN update-ca-certificates
15
16 COPY --chown=root:root libervia.conf /etc/libervia.conf
17
18 WORKDIR /home/libervia
19 USER libervia