Dockerfile 821 B

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