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:
parent
b5d1ddbbe2
commit
513ec328e4
1 changed files with 3 additions and 3 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue