Upgrade Python packages using pip.

This commit is contained in:
Josh Haberman 2016-02-22 14:26:21 -08:00
parent f6153b540a
commit 78f9b68600

View File

@ -60,13 +60,19 @@ RUN apt-get update && apt-get install -y \
openjdk-7-jdk \ openjdk-7-jdk \
# -- For python / python_cpp -- \ # -- For python / python_cpp -- \
python-setuptools \ python-setuptools \
python-tox \ python-pip \
python-dev \ python-dev \
python2.6-dev \ python2.6-dev \
python3.3-dev \ python3.3-dev \
python3.4-dev \ python3.4-dev \
&& apt-get clean && apt-get clean
# These packages exist in apt-get, but their versions are too old, so we have
# to get updates from pip.
RUN pip install pip --upgrade
RUN pip install virtualenv tox
# Prepare ccache # Prepare ccache
RUN ln -s /usr/bin/ccache /usr/local/bin/gcc RUN ln -s /usr/bin/ccache /usr/local/bin/gcc
RUN ln -s /usr/bin/ccache /usr/local/bin/g++ RUN ln -s /usr/bin/ccache /usr/local/bin/g++