mirror of
https://github.com/10h30/ols-docker-env.git
synced 2026-05-12 23:31:35 +09:00
Updated base image to preinstall certbot
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user