Updated base image to preinstall certbot

This commit is contained in:
lars-hagen
2020-01-09 10:37:43 +01:00
parent 670810a022
commit 9d177175d8
2 changed files with 17 additions and 0 deletions
+12
View File
@@ -5,6 +5,18 @@ ARG extensions
RUN apt-get install $extensions -y
#RUN apt-get install -y software-properties-common && \
# add-apt-repository 'deb http://ftp.debian.org/debian jessie-backports main' && \
# apt-get update && apt-get install -y python-certbot-apache -t jessie-backports
RUN apt-get install -y software-properties-common && \
add-apt-repository universe && \
add-apt-repository ppa:certbot/certbot && \
apt-get update && \
apt-get install -y certbot python-certbot-apache
#RUN echo "admin:$(/usr/local/lsws/admin/fcgi-bin/admin_php* -q /usr/local/lsws/admin/misc/htpasswd.php ${WEB_ADMIN_PASSWORD})" \
# > /usr/local/lsws/admin/conf/htpasswd