mirror of
https://github.com/certbot/certbot.git
synced 2026-08-05 04:32:18 +02:00
21 lines
682 B
Docker
21 lines
682 B
Docker
# https://github.com/letsencrypt/letsencrypt/pull/431#issuecomment-103659297
|
|
# it is more likely developers will already have ubuntu:trusty rather
|
|
# than e.g. debian:jessie and image size differences are negligible
|
|
FROM httpd
|
|
MAINTAINER Brad Warren <bradmw@umich.edu>
|
|
|
|
RUN mkdir /var/run/apache2 && \
|
|
ln -s /usr/local/apache2/conf/mime.types /etc/mime.types
|
|
|
|
ENV APACHE_CONFDIR=/tmp/apache2 \
|
|
APACHE_RUN_USER=daemon \
|
|
APACHE_RUN_GROUP=daemon \
|
|
APACHE_PID_FILE=/var/run/apache2/apache2.pid \
|
|
APACHE_RUN_DIR=/var/run/apache2 \
|
|
APACHE_LOCK_DIR=/var/lock \
|
|
APACHE_LOG_DIR=/usr/local/apache2/logs
|
|
|
|
COPY a2enmod.sh /usr/local/bin/
|
|
|
|
CMD [ "httpd-foreground" ]
|