1
0
Fork 0
mirror of https://github.com/librenms/docker.git synced 2026-07-25 11:14:08 +00:00

Add Python3 (Issue #7)

This commit is contained in:
CrazyMax 2018-12-14 14:38:17 +01:00
parent b5d1ddbbe2
commit 513ec328e4
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7

View file

@ -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 \