From 513ec328e4535d1f9d4f3732e9b127c360ee39fa Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Fri, 14 Dec 2018 14:38:17 +0100 Subject: [PATCH] Add Python3 (Issue #7) --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 347edae..0af5bba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,8 +63,7 @@ RUN apk --update --no-cache add \ php7-xml \ php7-zip \ py-mysqldb \ - py2-pip \ - python2 \ + python3 \ rrdtool \ runit \ shadow \ @@ -74,7 +73,8 @@ RUN apk --update --no-cache add \ tzdata \ util-linux \ whois \ - && pip install python-memcached \ + && pip3 install --upgrade pip \ + && pip3 install python-memcached \ && sed -i -e "s/;date\.timezone.*/date\.timezone = UTC/" /etc/php7/php.ini \ && rm -rf /var/cache/apk/* /var/www/* /tmp/* \ && setcap cap_net_raw+ep /usr/bin/nmap \