aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http
diff options
context:
space:
mode:
authorKrzysztof Gajewski <krzysztof.gajewski@nokia.com>2020-12-29 13:58:35 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2021-01-13 14:43:19 +0000
commitb837e334c875d2c2392fe51d711515a97aeb6c78 (patch)
tree85f6fbd45a8f9cc8f7c8c0a94757f4505b289eaf /test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http
parenta00402a48e87b132ca8cf90e474970c3aebdb125 (diff)
Add HTTP to DFC tests
- testing environment preparation for DFC with HTTP client - add suitable TCs for CSIT tests Issue-ID: DCAEGEN2-2527 Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com> Change-Id: Ic419c38125201ed6578a308ba258709f20ae65bd
Diffstat (limited to 'test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http')
-rw-r--r--test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http b/test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http
new file mode 100644
index 000000000..d3601b865
--- /dev/null
+++ b/test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http
@@ -0,0 +1,8 @@
+FROM httpd:alpine
+
+COPY configuration/htpasswd /usr/local/apache2/conf/.htpasswd
+COPY configuration/httpd.conf /usr/local/apache2/conf/httpd.conf
+RUN chmod 644 /usr/local/apache2/conf/.htpasswd
+RUN chmod 644 /usr/local/apache2/conf/httpd.conf
+RUN chown root:root /usr/local/apache2/conf/.htpasswd
+RUN chown root:root /usr/local/apache2/conf/httpd.conf