aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http-https
blob: a2d8bf8cca214c119d6711d19f8ade615e0d7a86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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