Skip to content

Commit c5b2833

Browse files
author
Ric Harvey
committed
Working towards issue richarvey#283 and using py3 however python2 is a burried
dependancey
1 parent 5d5a734 commit c5b2833

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,8 @@ RUN echo @testing http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repo
172172
imap-dev \
173173
openssl-dev \
174174
git \
175-
python \
176-
python-dev \
177-
py-pip \
175+
python3 \
176+
python3-dev \
178177
augeas-dev \
179178
libressl-dev \
180179
ca-certificates \
@@ -213,10 +212,10 @@ RUN echo @testing http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repo
213212
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \
214213
php composer-setup.php --quiet --install-dir=/usr/bin --filename=composer && \
215214
rm composer-setup.php && \
216-
pip install -U pip && \
217-
pip install -U certbot && \
215+
pip3 install -U pip && \
216+
pip3 install -U certbot && \
218217
mkdir -p /etc/letsencrypt/webrootauth && \
219-
apk del gcc musl-dev linux-headers libffi-dev augeas-dev python-dev make autoconf
218+
apk del gcc musl-dev linux-headers libffi-dev augeas-dev python3-dev make autoconf
220219
# apk del .sys-deps
221220
# ln -s /usr/bin/php7 /usr/bin/php
222221

0 commit comments

Comments
 (0)