summaryrefslogtreecommitdiffstats
path: root/2.4/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to '2.4/Dockerfile')
-rw-r--r--2.4/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/2.4/Dockerfile b/2.4/Dockerfile
index 58e3ea7..791046c 100644
--- a/2.4/Dockerfile
+++ b/2.4/Dockerfile
@@ -45,7 +45,9 @@ RUN set -ex; \
mkdir -p "$HTTPD_PREFIX/conf/conf-enabled"; \
mkdir -p "$HTTPD_PREFIX/conf/sites-enabled"; \
ln -s ../conf-available/dav.conf "$HTTPD_PREFIX/conf/conf-enabled"; \
- ln -s ../sites-available/default.conf "$HTTPD_PREFIX/conf/sites-enabled"
+ ln -s ../sites-available/default.conf "$HTTPD_PREFIX/conf/sites-enabled"; \
+ # Install openssl if we need to generate a self-signed certificate.
+ apk add --no-cache openssl
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
EXPOSE 80/tcp 443/tcp