comparison docker/libervia_e2e/Dockerfile @ 3423:0653be94ee5e

docker: added libervia e2e image and include it in `docker-compose_e2e`: The `libervia_e2e` image is based on main `libervia` one, and add, register and set the same test certificates as the ones used in `backend_e2e`.
author Goffi <goffi@goffi.org>
date Mon, 16 Nov 2020 14:51:15 +0100
parents
children
comparison
equal deleted inserted replaced
3422:c97476c41f0f 3423:0653be94ee5e
1 FROM salutatoi/libervia
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 salutatoi/backend_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/sat/certificates/server1.test.pem
13 COPY --chown=root:tls-cert certificates/server1.test/key.pem /usr/share/sat/certificates/server1.test-key.pem
14 RUN update-ca-certificates
15
16 COPY --chown=root:root sat.conf /etc/sat.conf
17
18 WORKDIR /home/sat
19 USER sat