aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http-https
blob: 754d01af0950933798d2e21a9ab3478d5bab99a2 (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

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

RUN mkdir /usr/local/apache2/certs
COPY --chown=root:root apache2/certs /usr/local/apache2/certs