1
0
Fork 0
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:
Jonathan Senecal 2018-12-27 12:36:59 -05:00 committed by GitHub
parent 9ef067c1aa
commit 54186fb3ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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