• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1FROM debian:stretch
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 2.7
26RUN apt-get update && apt-get install -y python2.7 python-all-dev
27RUN curl https://bootstrap.pypa.io/get-pip.py | python2.7
28
29# Install python dependencies
30RUN apt-get update && apt-get install -y \
31  python-setuptools \
32  python-pip
33
34# Add Debian 'testing' repository
35RUN echo 'deb http://ftp.de.debian.org/debian testing main' >> /etc/apt/sources.list
36RUN echo 'APT::Default-Release "stable";' | tee -a /etc/apt/apt.conf.d/00local
37
38# Install Python3
39RUN apt-get update && apt-get -t testing install -y \
40  python3.5 \
41  python3.6 \
42  python3.7 \
43  python3-all-dev
44
45RUN curl https://bootstrap.pypa.io/get-pip.py | python3.5
46RUN curl https://bootstrap.pypa.io/get-pip.py | python3.6
47RUN curl https://bootstrap.pypa.io/get-pip.py | python3.7
48