Working towards issue #283 and using py3 however python2 is a burried
dependancey
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -172,9 +172,8 @@ RUN echo @testing http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repo
|
|||||||
imap-dev \
|
imap-dev \
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
git \
|
git \
|
||||||
python \
|
python3 \
|
||||||
python-dev \
|
python3-dev \
|
||||||
py-pip \
|
|
||||||
augeas-dev \
|
augeas-dev \
|
||||||
libressl-dev \
|
libressl-dev \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
@@ -213,10 +212,10 @@ RUN echo @testing http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repo
|
|||||||
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \
|
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \
|
||||||
php composer-setup.php --quiet --install-dir=/usr/bin --filename=composer && \
|
php composer-setup.php --quiet --install-dir=/usr/bin --filename=composer && \
|
||||||
rm composer-setup.php && \
|
rm composer-setup.php && \
|
||||||
pip install -U pip && \
|
pip3 install -U pip && \
|
||||||
pip install -U certbot && \
|
pip3 install -U certbot && \
|
||||||
mkdir -p /etc/letsencrypt/webrootauth && \
|
mkdir -p /etc/letsencrypt/webrootauth && \
|
||||||
apk del gcc musl-dev linux-headers libffi-dev augeas-dev python-dev make autoconf
|
apk del gcc musl-dev linux-headers libffi-dev augeas-dev python3-dev make autoconf
|
||||||
# apk del .sys-deps
|
# apk del .sys-deps
|
||||||
# ln -s /usr/bin/php7 /usr/bin/php
|
# ln -s /usr/bin/php7 /usr/bin/php
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user