summaryrefslogtreecommitdiffstats
path: root/2.4/Dockerfile
diff options
context:
space:
mode:
authorJamie Nguyen <j@jamielinux.com>2018-07-17 14:12:23 +0100
committerJamie Nguyen <j@jamielinux.com>2018-07-17 14:12:23 +0100
commit59dea2f00cbdc956af4ccfab8e4c15564668121e (patch)
tree7499bf1b9427e03982c3279f10e0b66c3cca776c /2.4/Dockerfile
parentda253163d5352f5487d68d0ae30a1667482de1cb (diff)
downloadapache-59dea2f00cbdc956af4ccfab8e4c15564668121e.tar.gz
apache-59dea2f00cbdc956af4ccfab8e4c15564668121e.tar.bz2
apache-59dea2f00cbdc956af4ccfab8e4c15564668121e.tar.xz
apache-59dea2f00cbdc956af4ccfab8e4c15564668121e.zip
Move apk to Dockerfile
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