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