install django-pylibmc

This commit is contained in:
Hu 2018-06-19 11:38:39 +08:00 committed by root
parent 0e751248e9
commit 971fec216b
2 changed files with 3 additions and 1 deletions

View file

@ -19,7 +19,7 @@ RUN apt-get install -y python2.7-dev python-imaging python-ldap python-mysqldb
RUN curl -sSL -o /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py && \
python /tmp/get-pip.py && \
rm -rf /tmp/get-pip.py && \
pip install -U wheel && pip install oss2
pip install -U wheel
ADD requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt

View file

@ -9,4 +9,6 @@ libreoffice-script-provider-python ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy py
RUN apt-get install -y python-pip python-setuptools python-urllib3
RUN pip install oss2 django-pylibmc
RUN apt clean