aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http
diff options
context:
space:
mode:
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