diff options
author | 2021-02-01 17:46:51 +0100 | |
---|---|---|
committer | 2021-02-11 18:12:27 +0100 | |
commit | c746882a07952a0cd460e6fa8bcac246289db6b9 (patch) | |
tree | f1398e07e0916d19860f52e48191597d0ff5e9b0 /test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http-https | |
parent | ae43fa6fee1bb5b8cb68e21f50b477c084ef21eb (diff) |
Add HTTPS to DFC tests
- testing environment preparation for DFC with HTTPS client
(expand existing http server)
- add suitable TCs for CSIT tests
Issue-ID: DCAEGEN2-2528
Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com>
Change-Id: Ifa8abb827e269d76144fc74c65031dd387fe5fe7
Diffstat (limited to 'test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http-https')
-rw-r--r-- | test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http-https | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http-https b/test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http-https new file mode 100644 index 000000000..a2d8bf8cc --- /dev/null +++ b/test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http-https @@ -0,0 +1,15 @@ +FROM httpd:alpine + +RUN apk update + +ENV APACHE_LOG_DIR /usr/local/apache2/logs + +RUN mkdir /usr/local/apache2/certs + +COPY --chown=root:root apache2/certs /usr/local/apache2/certs +COPY --chown=root:root apache2/conf /usr/local/apache2/conf +COPY --chown=root:root apache2/conf/extra /usr/local/apache2/conf/extra + +RUN chmod 644 /usr/local/apache2/conf/.htpasswd +RUN chmod 644 /usr/local/apache2/conf/httpd.conf +RUN chmod 644 /usr/local/apache2/conf/extra/httpd-ssl.conf |