mirror of
https://github.com/librenms/docker.git
synced 2026-01-23 18:25:09 +00:00
Fix for missing python-memcached on python2
This is a fix for changes introduced in commit 513ec328e4 that broke distributed polling as the [`poller-wrapper.py` script requires python2](https://github.com/librenms/librenms/blob/master/poller-wrapper.py#L1) (as well as many [others](https://github.com/librenms/librenms/search?q=env+python2&unscoped_q=env+python2))
Closes #9
This commit is contained in:
parent
9ef067c1aa
commit
54186fb3ee
1 changed files with 4 additions and 0 deletions
|
|
@ -63,6 +63,8 @@ RUN apk --update --no-cache add \
|
|||
php7-xml \
|
||||
php7-zip \
|
||||
py-mysqldb \
|
||||
python \
|
||||
py2-pip \
|
||||
python3 \
|
||||
rrdtool \
|
||||
runit \
|
||||
|
|
@ -73,6 +75,8 @@ RUN apk --update --no-cache add \
|
|||
tzdata \
|
||||
util-linux \
|
||||
whois \
|
||||
&& pip2 install --upgrade pip \
|
||||
&& pip2 install python-memcached \
|
||||
&& pip3 install --upgrade pip \
|
||||
&& pip3 install python-memcached \
|
||||
&& sed -i -e "s/;date\.timezone.*/date\.timezone = UTC/" /etc/php7/php.ini \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue