1FROM debian:jessie
2
3# Install dependencies.  We start with the basic ones require to build protoc
4# and the C++ build
5RUN apt-get update && apt-get install -y \
6  autoconf \
7  autotools-dev \
8  build-essential \
9  bzip2 \
10  ccache \
11  curl \
12  gcc \
13  git \
14  libc6 \
15  libc6-dbg \
16  libc6-dev \
17  libgtest-dev \
18  libtool \
19  make \
20  parallel \
21  time \
22  wget \
23  && apt-get clean
24
25# Install python dependencies
26RUN apt-get update && apt-get install -y \
27  python-setuptools \
28  python-all-dev \
29  python3-all-dev \
30  python-pip
31
32# Install Python packages from PyPI
33RUN pip install --upgrade pip==10.0.1
34RUN pip install virtualenv
35RUN pip install six==1.10.0 twisted==17.5.0
36
37# Install pip and virtualenv for Python 3.4
38RUN curl https://bootstrap.pypa.io/get-pip.py | python3.4
39RUN python3.4 -m pip install virtualenv
40